[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 607
  • Last Modified:

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
0
Om Joshi
Asked:
Om Joshi
  • 4
  • 4
1 Solution
 
Karl Heinz KremerCommented:
Are you using "real" AcroForms (created in Acrobat), or are these forms created in Designer?
0
 
Om JoshiAuthor Commented:
these forms have been provided by another company in the form of PDF so not sure about the source!!!!
0
 
Karl Heinz KremerCommented:
OK, let's rephrase that question: Do you use Acrobat or Designer to edit the forms?
0
How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

 
Om JoshiAuthor Commented:
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
0
 
Karl Heinz KremerCommented:
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?
0
 
Om JoshiAuthor Commented:
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.....
0
 
Karl Heinz KremerCommented:
Then unfortunately, you are stuck with what you have. There is no generic solution for our problem. You could try to talk to Adobe for a new feature in Acrobat 10, but I suspect that the market for something like this is too small for them to consider it. Sorry.
0
 
Om JoshiAuthor Commented:
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
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now