field hidden on condition


Posted by jpwallace - Mar 8 ’17 at 04:43

Hi guys,

I am using the following bit of JS to hide a departure field when the flight box is unchecked and would like to show it when it is checked. Currently i cannot get this working, any ideas where i have gone wrong?

function setDeparture
if (fd.field('flight').value() == ('1') {
} else {

  • jpwallace
    Member for: 3 years 5 months 27 days
    #1 by jpwallace Mar 8 ’17 at 05:10

    got it working, how would i add multiple fields to hide?

Displaying 1 to 1 of 1 messages