Jump to:

2011 Posts in 1436 Topics by 620 members

Form Questions

SilverStripe Forums » Form Questions » datafieldbyname in docs but depreciated

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

Page: 1
Go to End
Author Topic: 352 Views
  • okotoker
    Community Member
    41 Posts

    datafieldbyname in docs but depreciated Link to this post

    I am using a custom form template and as in 2.4 I am using datafieldbyname. Which works but gives a depreciated notice. Its telling me to use fields or fieldlist api. Which is fine, but the api also tells you to use dataFieldByName and this is included in the regular docs as well. I have tried all kinds of things without luck.

    So if I want to use individual fields and not loop over them, what is the correct way to do this is SS3? As I said the docs seem to be out of date?

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.