Error "Please address the following fields containing invalid data:" when I click the submit button.

jose rivera1
Mega Contributor

Hello, any ideas on why I am getting the error below when I click submit?

find_real_file.png


find_real_file.png

Variable settings:

find_real_file.png

Thanks,

1 ACCEPTED SOLUTION

jose rivera1
Mega Contributor

Issue was on a catalog client script that checks (FormValidation) the value of this field.

 

View solution in original post

3 REPLIES 3

Musab Rasheed
Tera Sage
Tera Sage

Hi Jose,

Weird issue, can you delete and recreate variable and see if that works.? Also see if there is any onsubmit client script. Mark my answer as correct if that helps

Regards,

Musab

Please hit like and mark my response as correct if that helps
Regards,
Musab

Only one onsubmit client script:

function onSubmit() {
   var delete_check = g_form.getValue('acknowledges_message1');
    
    if (delete_check != 'true') {
        g_form.showErrorBox('acknowledges_error', 'You must acknowledge ... ');
        return false;
    }   
}

 

When I try to delete the following warning shows:

Deleting this record will result in the automatic deletion of the following related records:

5

Options

Note that the related records may trigger their own cascade deletions.
Proceed?
 

jose rivera1
Mega Contributor

Issue was on a catalog client script that checks (FormValidation) the value of this field.