Latest Register Log In

+ Advanced Search

Custom Incomplete Field Text

Custom Incomplete Field Text
By
11/09/11 (Edited 03/10/14)

Sometimes the generic "Please completed all the required fields" message isn't enough, and you want to describe in detail what the submitter should be doing with the field they didn't fill in or why you're requiring that information of them. You can do this with the $incompletefield tweak. Set up the field texts like this:

$incompletefield['links']['title'] = "You really do need to give a title for your article.";
$incompletefield['links']['description'] = "You have to describe what your article is about.";

Replace title and description with any field names. To find the field names, look at the input name attribute in the html or template or check the list at Admin Panel -> Customizations -> Add Fields.




Description How to set different custom text to display when someone fails to fill in different fields.
Rating
Views 266 views. Averaging 0 views per day.