Mon Jun 18 06:21:08 CEST 2007
Dear Maciej Hanski,
Thans a TON, it works great with 1.3.9 too.
Exactly what I was looking for.
Love and regards
----- Original Message -----
From: "Maciej Hanski" <ma_han2000 at yahoo.de>
To: <scribus at nashi.altmuehlnet.de>
Sent: Saturday, June 16, 2007 7:37 PM
> Prasad Mhatre napisa?(a):
>> Dear Friends,
>> I need to use some validation and conversion in my forms.
>> e.g. with thml form below:
>> //----- To convert User Id to Upper Case.
>> var UserId1;
>> function ChangeCase(inputform)
>> UserId1 = inputform.user_id.value;
>> return ;
>> and inside the form
>> <input name="user_id" type = "text"
>> OnBlur="ChangeCase(document.FrmLogin)" OnFocus="SelectText(this);"
>> Is this possible with Scribus?
>> Love and regards
> Hi Prasad and welcome to the Scribus mailing list,
> a good entry point is the "PDF Forms" category within the Scribus Wiki:
> In particular, please check out this new article written by a nice guy
> from Australia (our new Wiki author who specializes on this area,
> forms guru, I just want to help, since there have been no other specific
> responces to your questions so far):
> 1. You won't be able to define many forms within a PDF documents, so a
> function using inputform as an input parameter like
> ChangeCase(inputform) won't make any sense in this case.
> something like:
> function RunOnLaunch()
> app.alert('Welcome stranger');
> You may call these functions then while opening a pdf document
> (onlaunch), just go to "File/Save as PDF/Viewer/SpecialActions" and
> functions from within your PDF form elements (text fields, buttons,
> etc.) -- see below.
> 3. To define what should happen e.g. onBlur, right click on an PDF form
> element, select "PDF options/Field properties/Action" tab, specify
> list. The last thing to do is to click on "Edit..." and define your
> actions, either by writing your code within this very element or by
> calling one of your document wide functions. E.g. to change everything
> in your user_id field to upper case, you could do sth like this (just
> tested, works with Scribus 1.3.4):
> 4. Important: PDF forms support has been broken in the last 2 stable
> Scribus releases (126.96.36.199 and 188.8.131.52) so please either use an older
> version (e.g. 184.108.40.206), or use the unstable branch 1.3.4 and accept the
> risks, or just wait until the issues in question are fixed.
> hth somehow
> Scribus mailing list
> Scribus at nashi.altmuehlnet.de
More information about the scribus