Edit "Clear Form" popup message?

  • Profile Image
    mdre83
    Asked on September 15, 2011 at 06:18 PM

    Hi,

    is it possible to edit the message which appers when clicking the clear form (Reset) button.

    Currently the message says...

     

    "The page at http://form.jotform.com says:

    Are you sure tou want to clear the form

  • Profile Image
    mliz
    Answered on September 15, 2011 at 08:31 PM

    Hi mdre83,

    You will need to download the full source code of the form and change
    the warning message from there.

    To download the full source codes for your form:

    1.  Go to Setup & Embed
    2.  Click the Embed Form button
    3.  Choose Source
    4.  Click the link that says "here"

    Then unzip the file and open js/jotform.js in a text editor. If you scroll little bit, you will see these lines:

            pleaseWait:         'Please wait...',
            confirmClearForm:   'Are you sure you want to clear the form',
            lessThan:           'Your score should be less than',
            incompleteFields:   'There are incomplete required fields. Please complete them.',
            required:           'This field is required.',
            email:              'Enter a valid e-mail address',
            alphabetic:         'This field can only contain letters',
            numeric:            'This field can only contain numeric values',
            alphanumeric:       'This field can only contain letters and numbers.',
            uploadExtensions:   'You can only upload following files:',
            uploadFilesize:     'File size cannot be bigger than:'

    Change it from there and then upload all files to your web site.

    Hope this helps.

    Regards,
    Mliz