• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Exempting a form field from autovalidation

Nerbert

Active member
#1
I'm working on a modified form for creating new phrases. The main objective is to have a redirect back to the form itself after submission instead of redirecting to the Phrases page and I want to carry along some but not all of the input values. In particular I have a new text field "title_prefix" that is used in conjunction with a "Create Title" function that creates a phrase title from the first five words in the phrase text and is prepended with the optional value in the "title_prefix" field. The "title_prefix" field is not stored in the database, just passed along. The problem is I get an error saying the field is not recognized. It has a class "NoAutoValidate" and I thought that would exempt it from autovalidation. It doesn't; what am I missing?