PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Turn off required based on another fields contents

  1. DigitalElise
    Member

    Hi,

    I have two fields one for a Mobile Phone and one for a Home Phone. I am wondering if it is possible to change the required field setting dynamically based on if one field or the other has been filled in.

    Eg. if the user enters their Mobile number the Home Phone is no longer required or vice versa.

    I understand that I can hide the other field but I want the user to have the option to fill out both if they want or one if they only have one or the other.

    Any help would be great.
    Thanks in Advance
    Elle

    Posted 12 years ago on Sunday May 27, 2012 | Permalink
  2. tcs
    Member

    Ditto

    Posted 12 years ago on Sunday May 27, 2012 | Permalink
  3. David Peralty

    Not currently, no. Controlling required/not-required doesn't yet have a conditions or hooks to do so.

    Posted 12 years ago on Sunday May 27, 2012 | Permalink