Customize the "This field is required.: errMessage"

  • Profile Image
    ARAG
    Asked on November 19, 2010 at 10:17 AM

    First: I found your answer on the above question on http://www.jotform.com/answers/6100-How-to-customize-the-This-field-is-required-errMessage but i rather see this as a generic function within Jotform.

    In the solution mentoined above it means that with every change of the form i have to upload the complete source code to the webpage. I rather just do a change in jotform and be done. With the current way there are more steps with possible mistakes.

    Also for going to the international market this would be a very nice functionality. Giving everybody the option to make ther own error messages in their own language or even slang.

    And it can't be very difficult to implement. Just start with an extra field under account settings saying:

    Error messages: [ ] Use default | [ ] Custom error messages

    If you select "Custom error messages" you get a area to fill in:

    pleaseWait:____________________
    confirmClearForm:____________________
    lessThan:____________________
    incompleteFields:  ____________________
    required:     ____________________
    email:   ____________________
    alphabetic:    ____________________
    numeric:            ____________________
    alphanumeric:  ____________________
    uploadExtensions:  ____________________
    uploadFilesize: ____________________

    This is all saved in a custom JS file.

    OTHER OPTION:

    If you select "Custom error messages" you must download the js file. Change it, upload to a server, and fill in the URL to the js file in a field:

    URL to custom file: ......................................
    [SAVE]

    And done. Same as it works now with the CSS files.

    Can't be that difficult?

  • Profile Image
    aytekin
    Answered on November 19, 2010 at 03:39 PM

    Thanks for your suggestion. I added it to our feature requests list and we will consider it in the future.