Hello
I hav added a few new fields to a form, but they won't store the info that is added.
Checking the table that belongs to the form with phmyadmin shows that there are no corresponding columns for the data either.
Seems like I am missing something - the way I add the fields sis by cloning old ones, I created while using the fast form.
Should I add the table columns by myself, or do something else, update the form somehow?
Regards
Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
Newly added fields to form wont store data
-
- Posts: 785
- Joined: Sun Oct 14, 2018 11:25 am
Re: Newly added fields to form wont store data
Hi,deckoff wrote: Should I add the table columns by myself, or do something else, update the form somehow?
Good question.
Fields are only created automatically when you build the form initially with Form Builder.
Later, when you clone fields or add new ones, you must create the database fields manually.
P.S. nuBuilder loads the database schema at login. Therefore, if you add new fields, you'll need to login again (Otherwise the data is not saved)
@Steven: This might be a nice feature. When an ID does not exist in the DB, show a dialog and ask the user if it should be created.
Re: Newly added fields to form wont store data
deckoff,
You'll need to create the fields yourself - as you suggested.
But if you grab the latest from Github, you won't need to log out and in again, to see the changes you make.
Steven
You'll need to create the fields yourself - as you suggested.
But if you grab the latest from Github, you won't need to log out and in again, to see the changes you make.
Steven
Re: Newly added fields to form wont store data
Thank you all!
Works. If anyone stumbles upon this topic, the same goes when renaming fields - the corresponding columns should be renamed
Works. If anyone stumbles upon this topic, the same goes when renaming fields - the corresponding columns should be renamed