Mon Jun 18 06:59:34 CEST 2007
Dear Maciej Hanski,
Is it possible to duplicate the field values entered in a form?
Suppose I have two fields (viz. FirstName and another field Name) where one
enters FirstName the second field Name is to be entered automatically, i.e.
Second Name may not be entered, in this Name field the content of FirstName
should be replicated.
It sounds strange, why two fields should contain the same information, but I
need this on a form where there is an acknowledgment slip which contains the
Name, and I expect no one should enter the same information again.
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 (188.8.131.52 and 184.108.40.206) so please either use an older
> version (e.g. 220.127.116.11), 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