I am having problems with error validation on an option list for a custom form. I have added everything correctly, made the option list required to have an option selected. But when the form is submited with nothing in the option list selected, I do not get an error warning about the option list. There should be a warning that a selection needs to be made for the option list.
I tried this a few times, and each time if would not create an error for the option list. Should I log this as a bug?
Are you using a Page Contents body copy?
If so, I believe you need to use the %form_errors% keyword.
You should also check your submission logs to see if the form is actually being submitted with the blank/invalid data.
Yes I am using the page contents body copy. And I have already been using the %form_errors% keyword. That is the problem, it shows the form errors for all other kinds of fields, but it is not working for a option list. That is the problem.
[quote]Yes I am using the page contents body copy. And I have already been using the %form_errors% keyword. That is the problem, it shows the form errors for all other kinds of fields, but it is not working for a option list. That is the problem.
[right][post=“13702”]<{POST_SNAPBACK}>[/post][/right][/quote]
Could you log this as a bug so we can investigate it?
Logged.