• Resolved rasinton

    (@rasinton)


    I have created a Membership Application Form using Contact Form 7 and a bit of HTML.

    It works great, but, someone has asked if some validation can be implemented.

    In particular, if any of the category entries is for a junior then there must also be a Senior or Social member apply.

    So, not just validating an input value but taking account of multiple field values.

    is there any way to do this when the Submit button is clicked?

    Thanks

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    Thread Starter rasinton

    (@rasinton)

    Thanks for this – looks most promising!

    It will take me a while to get my head around what I need to do and I expect I will be back with questions later!!!!

    First 2 questions (just to show my lack of knowledge!)….

    1) What language is the code written in?
    2) Where is the code for the filter function put?

    Thanks

    • This reply was modified 4 years, 3 months ago by rasinton.
    • This reply was modified 4 years, 3 months ago by rasinton.
    Plugin Author Takayuki Miyoshi

    (@takayukister)

    1) What language is the code written in?

    PHP.

    2) Where is the code for the filter function put?

    Anywhere as long as PHP can run. Some like to put it into the functions.php file in the theme directory.

    Thread Starter rasinton

    (@rasinton)

    Thanks

    Thread Starter rasinton

    (@rasinton)

    Takayuki

    I have successfully implemented the validation on the form that I was hoping to do and am quite pleased with myself!

    Thanks for all your help and thanks, too, for providing such a great plugin.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Is it possible to validate input?’ is closed to new replies.