Support

Account

Home Forums Backend Issues (wp-admin) Set File Upload path to be editable Reply To: Set File Upload path to be editable

  • Do you mean the setting up the fields or the outputting of the field on the front end?

    I don’t think that there is any in-depth explanation of conditional logic. You create a radio field and give it any number of values that you want. When you create another field you can then turn on conditional logic for that field. You then select the radio for under “show this field if” and set the value for that field that makes the new field appear.

    In the code you would do something like

    
    if (get_field('radio_field') == 'value 1') {
      // do one thing
      // like show a value in another field
    } elseif (get_field('radio_field') == 'value 2') {
      // do something else
    }