Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Template Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Missing fields in Form. Display Message


Go to End


1488 Views

Avatar
Banana

Community Member, 18 Posts

3 December 2010 at 10:11pm

Hello,

in version 2.4.3 the check if the required fields are there is done in Form->validate().

This works fine as it should be, but the information about the missing fields is stored via Session::set and then redirected back to the form.

With the standard form template copied to an individual one, no message is displayed.

How can I access this session information within my template ?