Page 1 of 1

Newly added fields to form wont store data

Posted: Sat Aug 11, 2018 10:13 am
by deckoff
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

Re: Newly added fields to form wont store data

Posted: Sat Aug 11, 2018 10:54 am
by toms
deckoff wrote: Should I add the table columns by myself, or do something else, update the form somehow?
Hi,

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

Posted: Mon Aug 13, 2018 4:42 am
by admin
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

Re: Newly added fields to form wont store data

Posted: Sun Aug 26, 2018 12:42 pm
by deckoff
Thank you all!
Works. If anyone stumbles upon this topic, the same goes when renaming fields - the corresponding columns should be renamed

Re: Newly added fields to form wont store data

Posted: Sun Aug 26, 2018 11:13 pm
by admin
.