/    Sign up×
Community /Pin to ProfileBookmark

Validation HELP!!!

I need some help with some validations:

  • 1. When debitcard is checked, ccnum and cvv should not be blank, but the validator should not try to validate routing or account

  • 2. When Check is checked, routing or account should not be blank, but the validator should not try to validate ccnum or cvv

  • 3. When joint is checked to make value “Yes”, the following should be validated: slname, sfname, smname, semail, sbanknum

  • 4. When joint is checked to make value “No”, the following should NOT be validated: slname, sfname, smname, semail, sbanknum

  • 5. I am also looking for an excellent email validator!!
  • Any help is greatly appreciated!! My source code is attached (I had to change the document type to .txt instead of .html) which flows into a PHP form!! If the PHP form is needed please let me know!!
    ==========================================================

    [upl-file uuid=c9b560dc-bee3-46e2-a4e6-0190be690dd9 size=11kB]MIMform.txt[/upl-file]

    to post a comment
    JavaScript

    0Be the first to comment 😎

    ×

    Success!

    Help @dabowlr spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 5.5,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @Yussuf4331,
    tipped: article
    amount: 1000 SATS,

    tipper: @darkwebsites540,
    tipped: article
    amount: 10 SATS,

    tipper: @Samric24,
    tipped: article
    amount: 1000 SATS,
    )...