Skip to main content
Participant
January 8, 2018
Answered

Drop down menu code help

  • January 8, 2018
  • 1 reply
  • 706 views

Hi there,

I need to create a drop down menu with the following options but I can't seem to get the code to work.

Offer 12 month lease

Offer 6 month lease

Offer periodic lease

Do not offer lease extension

Other

Could you please let me know how the code needs to be formatted? This is what I have done and it does not work.

{{*Extension_es_:signer1:dropdown(options="Offer 12 month lease, Offer 6 month lease, Offer periodic lease, Do not offer lease extension, Other”)}}

Can I also add a text box the requires the user to input text if their answer to the above drop down menu is "other"?

Thanks very much.

Sarah.

This topic has been closed for replies.
Correct answer ScottCarter

Hi Sara!

The form of your tag is correct. I suspect that the problem you are having is that the tag is wrapping on the page, and text tags can't support line wrapping. All tags must be on one line.

To test this, set the font size of your text tag to 3 (or something small enough to get the full tag on one line) and test it.

For big tags like your drop-down box, you should use "tag shortening".  This will allow you to fit the field correctly to your form, and include all of the options that you need.

Regarding the required input field when the drop-down = Other, your tag would look something like this:

{{*OptField1_es_:signer1:showif(Extension=”Other”)}}

1 reply

ScottCarterCorrect answer
Participating Frequently
January 8, 2018

Hi Sara!

The form of your tag is correct. I suspect that the problem you are having is that the tag is wrapping on the page, and text tags can't support line wrapping. All tags must be on one line.

To test this, set the font size of your text tag to 3 (or something small enough to get the full tag on one line) and test it.

For big tags like your drop-down box, you should use "tag shortening".  This will allow you to fit the field correctly to your form, and include all of the options that you need.

Regarding the required input field when the drop-down = Other, your tag would look something like this:

{{*OptField1_es_:signer1:showif(Extension=”Other”)}}

sarahc71Author
Participant
January 9, 2018

Thank you so much Scott!!