Forms: dropdown lists - multiple line items

Forum for the PDF-XChange Editor - Free and Licensed Versions

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Sean - Tracker, Paul - Tracker Supp, Chris - Tracker Supp, Tracker Supp-Stefan, Ivan - Tracker Software

Post Reply
claude vidal
User
Posts: 132
Joined: Wed Mar 09, 2016 12:47 am

Forms: dropdown lists - multiple line items

Post by claude vidal » Fri Sep 27, 2019 5:36 pm

Sorry if this has been discussed previously, my search did not reveal any posts.

Using Editor Plus 8.0.332.0.

My objective is to allow a user to select an address from a Form dropdown list and would like the address formatted as follows:
123 Main street
My city, QC
Postal code


I guess I'm looking for the equivalent of the 'multiline' attribute of text fields.

I tried to paste text that had an embedded newline, but PDFXchange strips anything after the newline, including the newline character.

Am I missing something, or is this simply not possible?

I know I could have a work around using javascript, but I like things simple. :wink:

User avatar
TrackerSupp-Daniel
Site Admin
Posts: 4044
Joined: Wed Jan 03, 2018 6:52 pm

Re: Forms: dropdown lists - multiple line items

Post by TrackerSupp-Daniel » Fri Sep 27, 2019 11:13 pm

Hello Claude,

Unfortunately Multiline is not currently a valid option for dropdown boxes, and to my knowledge it is not always supported even when done via JS. As such, while it may be possible to force it to display like this in the Editor, I am unsure if that is a good choice as many readers could misinterpret or simply ignore the JS entirely.

My suggestion would be to either have 3 dropdown boxes, or have a single dropdown, with 2 locked auto-filled text fields below it, allowing you to select one value, and have the other two appear in the fields below it.

Kind regards,
Daniel McIntyre
Support Technician
Tracker Software Products (Canada) LTD

Support: <Support@tracker-software.com>
Sales: +1 (250) 324-1621
Fax: +1 (250) 324-1623

claude vidal
User
Posts: 132
Joined: Wed Mar 09, 2016 12:47 am

Re: Forms: dropdown lists - multiple line items

Post by claude vidal » Sat Sep 28, 2019 12:02 am

Hi Daniel,

Thanks for the response. When you mention "auto-filled text fields below it", would this be a 'mouse up' custom action to set the other fields?

User avatar
TrackerSupp-Daniel
Site Admin
Posts: 4044
Joined: Wed Jan 03, 2018 6:52 pm

Re: Forms: dropdown lists - multiple line items

Post by TrackerSupp-Daniel » Sat Sep 28, 2019 12:18 am

Hello Claude,

A mouse up may work, another option would be to set Value Calculation for the text fields, and then fill them with a custom JS based on the dropdown boxes selection and other fields. (I assume that based on your example with addresses, you may sometimes want to use data that exists in other fillable fields for this selection)
Please see this article for more details on creating fillable forms.

Kind regards,
Daniel McIntyre
Support Technician
Tracker Software Products (Canada) LTD

Support: <Support@tracker-software.com>
Sales: +1 (250) 324-1621
Fax: +1 (250) 324-1623

Post Reply