Page 1 of 1

Forms: dropdown lists - multiple line items

Posted: Fri Sep 27, 2019 5:36 pm
by claude vidal
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:

Re: Forms: dropdown lists - multiple line items

Posted: Fri Sep 27, 2019 11:13 pm
by TrackerSupp-Daniel
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,

Re: Forms: dropdown lists - multiple line items

Posted: Sat Sep 28, 2019 12:02 am
by claude vidal
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?

Re: Forms: dropdown lists - multiple line items

Posted: Sat Sep 28, 2019 12:18 am
by TrackerSupp-Daniel
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,