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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Template Questions /

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

Missing fields in Form. Display Message


Go to End


1214 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 ?