Support

Account

Home Forums General Issues Single Field: Text OR Page Link? Reply To: Single Field: Text OR Page Link?

  • You need to create a true/false field for something like

    “Band has Page”

    then you create a url field and a text field and each is conditional based on the selection of the true/false field.

    Then in your code

    
    if (get_field('my_true_false_field)) {
      // show url/page link field
    } else {
      // show text field
    }