This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 2

Age Restriction


  1. EPark1016
    Member

    IS it possible for me to add an "Age Restriction" checkbox to the form? Like, in the date field, have a checkbox which asks "18 or over" and if I select that option, there would be a script which checks to ensure that the date entered is 18+. I saw the birthdate control post here, but I need to actually make that a selection and not hard coded with each form I need that functionality for.

    Thanks!

    Posted 15 years ago #
  2. yuniar

    I'm afraid there is no easy way to do that without doing any modification as pointed here:
    http://www.appnitro.com/forums/topic/i-need-a-birth-date-control?replies=6


    MachForm Founder

    Posted 15 years ago #
  3. EPark1016
    Member

    Do you know how I would go about that? I'm decent with PHP, but I'm not a wizard.

    Posted 15 years ago #
  4. yuniar

    You can simply follow the instruction posted there. It's a step by step instruction.


    MachForm Founder

    Posted 15 years ago #
  5. EPark1016
    Member

    No, I mean if I wanted to add a field to the form using this as the base. The way this is setup, you'd have to hard code each form. I need it so I can add a checkbox to the date field and if the user selects it, then this script is envoked for that particular form.

    Posted 15 years ago #
  6. omniarms
    Member

    Can I bump this post/request? I believe the forms/coding have progressed to the point that the other post linked will not work/cannot be implemented any longer as I could not find the coding referenced in the form.

    I would like to add an age verification line to our form as well where additional items would be displayed if the person is younger than 18, so it would need to pull the current date for comparison and not a specific date as you are allowed to enter in the form generator.

    Posted 11 years ago #

RSS feed for this topic

Reply