Changeset 1636279
- Timestamp:
- 04/12/2017 07:03:10 PM (9 years ago)
- File:
-
- 1 edited
-
nm-contact-forms/trunk/index.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
nm-contact-forms/trunk/index.php
r1636271 r1636279 324 324 if(empty($the_field['required'])) $the_field['type'] = 0; 325 325 326 if($the_field['type'] != 'file_upload' && $the_field['required'] && (empty($_POST[$field_id]) || !isset($_POST[$field_id]))) $response['errors'][] = $the_field['title']. ' is required ';326 if($the_field['type'] != 'file_upload' && $the_field['required'] && (empty($_POST[$field_id]) || !isset($_POST[$field_id]))) $response['errors'][] = $the_field['title']. ' is required.'; 327 327 328 328 } … … 359 359 if($field_id != 'nm_nonce' && $field_id != 'g-recaptcha-response' && $field_id != $honeypot_field_id && $field_id != $attachment_id){ 360 360 361 if(!count($field_value)) $response['errors'][] = $field_settings['title']. ' is required ';361 if(!count($field_value)) $response['errors'][] = $field_settings['title']. ' is required.'; 362 362 363 363 $data['fields'][$field_id]['title'] = $field_settings['title'];
Note: See TracChangeset
for help on using the changeset viewer.