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.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Form Required Fields

Go to End

2 Posts   448 Views


Community Member, 3 Posts

7 April 2013 at 12:05am

Hello there.

Topic: Forms
Problem: If validation fails all FormFields are empty.
I Want the old (even thogh faild to validate) values to be filled in, so that a user does not have to reenter it.

Before you flame me: I did search docs,forum and google, but there were no accurate results within the first 30/40 results.
Suggestion: I think what I want is not so odd. You may consider to mention that in the Form-Topic of the doc section.

Thanks & best regards,


Forum Moderator, 1849 Posts

8 April 2013 at 12:19am

I think you are missing the "redirectBack", see this example..