Drop down menu help

Hi there
Searched the forum but couldn't find an answer.
2 questions.

  1. Is there a way where the options I select on the drop down do NOT appear in the answer. For example, if I select the first drop down, where it's called "the first option", the output is "This is an apple tree", without saying "the first option". Is this going to be a complicated if then statement?

  2. Is there a way to have one option of the drop down be free text. If I have three options, I put text in two of them and then if I select the third, it prompts me to just type in either a line or a paragraph.


Hey @plw_1
For question #1, a simple if-then statement is one option. Two other options are creating a map between the dropdown values and the text and the third is reading the data from a Data Blaze table.

Here are options #1 and #2

Option #1: using if/else
{note}{formmenu:the first option; the second option;name=selection}{endnote}{if:selection="the first option"}This is an apple tree{elseif:selection="the second option"}This is a banana tree{endif}

Option #2: using a map
{map=["the first option":"this is an apple tree", "the second option":"this is a banana tree"]}

As for the second question, if/else is your friend again:

{note}{formmenu:the first option; the second option;other;name=selection}{endnote}{if:selection="other"}{formtext}{else}{=selection}{endif}

thanks for this quick answer! I'll give it a try this weekend.