logo

New Response

« Return to the main article

You are replying to:

  1. Me again!

    Sorry Jake, but I can't seem to figure out how I can set the message depending upon which portion of the function the user is contravening:

    I want one message if the other field is set to Researcher and they don't complete the End Date, and another message if they complete the End Date (whether or not Researcher is selected in the other field) and it's less than the Start Date.

    I've tried setting the message inside the function with "this.message = " and have tried adding ""test": this.message" to the messages: area of validation.js, and neither works.

    How would I set the message dynamically?

    Thanks!

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: