PDA

View Full Version : Do not use "id" for the name of a textfield



FrankK
16 Apr 2012, 4:39 PM
I was trying to troubleshoot a different issue so I wanted to see the id of the model record attached to the form. When I added a new field to view the id things with the navigation view started acting a little weird, but I thought the issues were caused by something I screwed up before this. Eventually I was finding major back button issues when doing certain things. All of this stemmed from adding a textfield with name : 'id' to the form. Soooo don't do that. Hopefully this post will save someone else from the troubleshooting nightmare I created for myself.

mitchellsimoens
17 Apr 2012, 6:24 AM
There is another thread that talks about having name : 'id' where the browser acts oddly. This is actually not a ST issue but browser.