Link to home
Start Free TrialLog in
Avatar of Om Joshi
Om JoshiFlag for United Kingdom of Great Britain and Northern Ireland

asked on

ADOBE Fillable Form Query

I am creating a PDF fillable form, in which i am at place where there's a comb of TWO Text fileds but it act as a SINGLE while enttering text.if you look at attached image you will find  'INVESCO PREPETUAL HIGH INCOME ' will be a one single statement as its a contineous one....i tried all the properties but there's no option for such arrangement that One Big Textbox has Two Lines with Character COMB's... as you can see inthe image....

Looking to achieve similar thing where i can enter

look forward to hearing from you soon.

kind regards,
om
PDF-Fillable-Form.JPG
Avatar of Karl Heinz Kremer
Karl Heinz Kremer
Flag of United States of America image

Are you using "real" AcroForms (created in Acrobat), or are these forms created in Designer?
Avatar of Om Joshi

ASKER

these forms have been provided by another company in the form of PDF so not sure about the source!!!!
OK, let's rephrase that question: Do you use Acrobat or Designer to edit the forms?
i am using Acrobat Professional 8.1.0 to edit the forms i.e. i am converting static forms into Fillable forms using Acrobat Professional 8.1.0
Sorry for the delay.

How familiar are you with JavaScript? The general idea is that you create a custom keystroke script that gets run every time the user enters a character. The problem is that you also have to deal with non-printable characters (e.g. delete or backspace).

To create such a keystroke script, bring up the properties for your field, and select the "Format" tab, then select the "Custom" entry in the "Category" list. Click on the "Edit" button next to the "Custom Keystroke Script" field. The following event properties are important to implement the functionality you are looking for:
event.changeEx - the character typed
event.selStart - the starting position for the current text selection
event.selEnd- the ending position for the current text selection
event.value - the string value before the new keystroke is applied.

If selStart and selEnd are the same, you are dealing with a "normal" keystroke that's inserted into the string. I would first get the length of the current strings (both, the first and the second input field), and depending on that information, and if a character is replaced or inserted, apply the new keystroke. If the keystroke is empty, that means you are dealing with a special character, and don't have to do anything.

You might run into problems with Copy&Paste - pasting more than one character can potentially cause your script to fail.

Is this enough information to get you started?
sorry to respond you very late. the thing is that i am not a codder though i tired but it did not work for me.....i am looking at something generic solution which is ready to go....as codding is not my cup of tea.....
ASKER CERTIFIED SOLUTION
Avatar of Karl Heinz Kremer
Karl Heinz Kremer
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Allright let me try agian... if you are ready to help me....i can try out something....on that...well i have been advised to use keystoke and java script, from your end..if you could give me that in little more detail so i can try my hands out and see if there's any luck...

Look forward to hearing from you soon. regards...om