Combining visible and toggled-on-click elements

matrixdef

#1

On the sentential negation page, some content becomes visible on click, but the content at the bottom is always visible.

I am trying to do the same on the Other Features page. Here’s the code that works:

Label “<div id=‘form’ class=‘form_switch’ style=‘display:none’>
<p> Custom content, different from what is on the negation page.</p></div>”

Label “<input type=“hidden” name=“existing_value_type1_name” value=“bool”>
<input type=“hidden” name=“existing_value_type2_name” value=“luk”>”

BeginIter feature{i} “a Feature” 1

22 PM

This way, the button “Add a feature” is always visible. However I can’t figure out how to add anything useful to where I now have the sentence about “custom content”. E.g. if I add a text field, then the “Add a feature” becomes hidden as well and is not visible unless I click on “Add the FORM feature” button.

For example, this does not work:

Label “<div id=‘form’ class=‘form_switch’ style=‘display:none’>
<p> Custom content, different from what is on the negation page.</p>”

Text name “Feature form Value finite name” "Value name: " “” 20

</div>

Label “<input type=“hidden” name=“existing_value_type1_name” value=“bool”>
<input type=“hidden” name=“existing_value_type2_name” value=“luk”>”

BeginIter feature{i} “a Feature” 1

In the sense that the iter button is no longer visible, unless I click. I tried various combinations of div and p but can’t figure out what the right syntax is.

I realize that I am not understanding the syntax, something that has to do with the quotation marks and the <div> and <p> tags, but I can’t figure out what the correct way of using it is. Can anyone help?


#2

OK, it looks like, in the code above, the missing element is the Label keyword. For example, this seems to work like I want it to:

Label “<div id=‘form’ class=‘form_switch’ style=‘display:none’>
<p> Custom content, different from what is on the negation page.</p>”

Text name “Feature form Value name” "Value name: " “” 20

Label “</div>”

Label “<input type=“hidden” name=“existing_value_type1_name” value=“bool”>
<input type=“hidden” name=“existing_value_type2_name” value=“luk”>”

BeginIter feature{i} “a Feature” 1