Welcome to the nuBuilder Forums!

Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.

New Fields in an already database formed table

Questions related to using nuBuilder Forte.
Post Reply
Uzlander
Posts: 56
Joined: Sat Jul 08, 2023 10:21 am
Has thanked: 8 times
Been thanked: 3 times

New Fields in an already database formed table

Post by Uzlander »

Hi people! Pardon me, as a newbie i need some understanding of the connection between elements on the frontend and corresponding fields in mysql.
I've noticed that after creating fast forms (and automatically db tables with fields accordingly) i can then add more form fields on the frontend and those do not auto-add corresponding fields (or not always) in the database table, yet it all works and values put in those elements persist successfully. Am i right or what exactly i need to know is: what type if fields i can safely create up on the frontend(nubuilder's constructor ui) without affecting db tables structure (without changing the number of fields in the db tables)?
The thing is, i want to add few dynamic fields which probably should appear on the frontend only (kind of mini dashboard) and place them on the next tab of the same form. Say 'calc', 'display', maybe 'number' and 'word' type elements add to an existing form via nubuilder UI (leave db admin).
Those elements get updated dynamically by js/jquery functions and i still expect them to persist with the form submit (form's save button).
Can i do so ?
steven
Posts: 398
Joined: Mon Jun 15, 2009 10:03 am
Has thanked: 58 times
Been thanked: 55 times

Re: New Fields in an already database formed table

Post by steven »

Hi Uzlander,

I'm not sure if I've understood you question but...

A field will only persit (be there) when a Form is reloaded if it comes from an Object with the same ID as a field on that Form's table..

Its not really persisting, it is being reloaded from the database again.


Steven
A short post is a good post.
Buy Kev a Coffee
Uzlander
Posts: 56
Joined: Sat Jul 08, 2023 10:21 am
Has thanked: 8 times
Been thanked: 3 times

Re: New Fields in an already database formed table

Post by Uzlander »

I think we have to take care of the db table part manually once we add another element on an existing form via nuBuilder UI, otherwise it won't appear in the backend and hence no persisting.
Link to my screen recorded --> https://jumpshare.com/s/vEM5IEQkKI52s9VJR9me
Now it raises another question: what is the recommended way to create dashboards in nubuilder (or is there any video on this)? I mean can i just pile up elements/objects needed for dynamic info which is mostly based on one form/table and place it in an adjacent tab on the same form like so ?
Uzlander
Posts: 56
Joined: Sat Jul 08, 2023 10:21 am
Has thanked: 8 times
Been thanked: 3 times

Re: New Fields in an already database formed table

Post by Uzlander »

pardon me, for English's not my native :)
Post Reply