Jump to:

23453 Posts in 18902 Topics by 2877 members

General Questions

SilverStripe Forums » General Questions » Form Required Fields

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

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

Page: 1
Go to End
Author Topic: 274 Views
  • cornJ
    Avatar
    Community Member
    3 Posts

    Form Required Fields Link to this post

    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,
    CornJ

  • swaiba
    Avatar
    Forum Moderator
    1788 Posts

    Re: Form Required Fields Link to this post

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

    http://www.silverstripe.org/form-questions/show/11251?start=8#post321166

    274 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.