Make prefix (title) selection compulsory in name field [RESOLVED]

Unfortunately some people ignore selecting a title (Mr, Mrs etc) from dropdown box of the name field, which means that notifications attached to the forms start Dear Jones for example, instead of Dear Mr Jones.

Is there a way of making a physical selection compulsory, excluding populating the prefix with the usual first choice from dropdown, which would be Mr? Afterall some people will still not correct this so could be emailing Mr Jones, when he is in fact a she Mrs, Miss etc.

Thanks

You can make use of the filter gform_field_validation. See specifically example 4. Name field validation which ensures all visible inputs contain a value.

Boom, works for me. Thanks Joshua.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.