Home › Forums › Plugin Support › WP User Frontend Pro › Validate form fields This topic is: not resolved This topic contains 4 replies, has 2 voices, and was last updated by towhid 3 years, 10 months ago. Viewing 5 posts - 1 through 5 (of 5 total) Author Posts May 29, 2015 at 10:47 am #45586 ClaudiaMember Post count: 17 How I can validate the form fields? For example, phone is only numbers and max 10 characters? An the other question… How I can make a “warning” about specific fields that are in error? Thanks you May 30, 2015 at 12:18 pm #45634 towhidParticipant Post count: 4505 Hello Claudia, We do not have this feature right now to enter the phone number in a field. Numeric custom field feature will be available in our next release. Can you make the question more clear about “warning” about specific fields that are in error? Thanks June 3, 2015 at 6:51 pm #46040 ClaudiaMember Post count: 17 Ok, I look forward to validate the fields in the next version. When would it be? On the question of error, I mean warnings like: “Warning: the ‘name' field is required” June 3, 2015 at 7:04 pm #46041 ClaudiaMember Post count: 17 Another question: you can tell me where (in the .php plugins) fields are validated? To do it. For example, the “email” field is validating it correctly. So, please, can you tell me where .php file validation plugins that you gave? June 4, 2015 at 12:26 pm #46090 towhidParticipant Post count: 4505 Hello Claudia, Please open plugins/wedevs-wp-user-frontend/assets/js/frontend-form.js and find below the line of code: ('<div class="wpuf-errors">' + wpuf_frontend.error_message + '</div>'); Also open plugins/wedevs-wp-user-frontend/wpuf.php and find the below line of code: 'error_message' => __( 'Please fix the errors to proceed', 'wpuf' ), Above two lines are responsible for provide an alert if any field is empty(but required are given in backend) Thanks Author Posts Viewing 5 posts - 1 through 5 (of 5 total) The topic ‘Validate form fields’ is closed to new replies.