data-show-if= — Conditional not working
-
Hello,
The conditional behavior described here: https://mc4wp.com/kb/conditional-fields-elements/ is not working for me.
data-show-if= <— this just shows the data regardless for me at this point, here is my code:
<p>
<label>Remote?*</label>
<select name=”MERGE1″ required>
<option value=”Yes”>Yes</option>
<option value=”No”>No</option>
</select>
</p>
<p data-show-if=”MERGE1:No”>
<p>
<label>Plan to work*</label>
<input type=”text” name=”MMERGE2″ required>
</p>
</p>As I understand it – the “Plan to work” section should only show if the first option select is ‘No’. However, it shows up from page load – even when there is no selection.
Any help here is appreciated, thanks!
Phil
- The topic ‘data-show-if= — Conditional not working’ is closed to new replies.