There is no way in the form builder to limit the length of the title, but you could perform validation on the length of the title, then return an error to the user if the title they entered is too long. You would use the gform_validation filter: http://www.gravityhelp.com/documentation/page/Gform_validation
You could also just silently truncate the length of the title using the gform_pre_submission_filter: http://www.gravityhelp.com/documentation/page/Gform_pre_submission_filter
Read the value that was submitted and trim it to the length you desire.
Posted 12 years ago on Tuesday November 13, 2012 |
Permalink