Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Newly added fields to form wont store data

Questions related to using nuBuilder Forte.
Post Reply
deckoff
Posts: 17
Joined: Tue Jul 10, 2018 12:34 pm
Been thanked: 1 time

Newly added fields to form wont store data

Unread post 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
toms
Posts: 785
Joined: Sun Oct 14, 2018 11:25 am

Re: Newly added fields to form wont store data

Unread post 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.
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Newly added fields to form wont store data

Unread post 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
deckoff
Posts: 17
Joined: Tue Jul 10, 2018 12:34 pm
Been thanked: 1 time

Re: Newly added fields to form wont store data

Unread post by deckoff »

Thank you all!
Works. If anyone stumbles upon this topic, the same goes when renaming fields - the corresponding columns should be renamed
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Newly added fields to form wont store data

Unread post by admin »

.
Post Reply