Allow user to change the caption?

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

t4nu
Ebase User
Posts: 305
Joined: Thu Jul 02, 2015 8:32 am
Location: Indonesia

Allow user to change the caption?

#1

Postby t4nu » Mon May 30, 2016 3:30 am

Hi,
If I want the users can change caption in the form by them self, is it possible? How? What I mean is the correction/change from users will be permanent and applied not just for the certain user but to the display for all users.
Thanks in advance for the help.
0 x

Jon
Moderator
Moderator
Posts: 1342
Joined: Wed Sep 12, 2007 12:49 pm

#2

Postby Jon » Tue May 31, 2016 8:39 am

You would need to store the text entered by the user in a database. Then load it from the database as part of the form or page initialization. You can set a Text Control text with:

Code: Select all

controls.Txtxxxx.text.text = "Text";
0 x

t4nu
Ebase User
Posts: 305
Joined: Thu Jul 02, 2015 8:32 am
Location: Indonesia

#3

Postby t4nu » Tue May 31, 2016 10:28 pm

Hi,
So is it cannot be store it the ebase system itself?
I just little worried when loading from the database, because I notice that it take sometime to load the data.

Jon wrote:You would need to store the text entered by the user in a database. Then load it from the database as part of the form or page initialization. You can set a Text Control text with:

Code: Select all

controls.Txtxxxx.text.text = "Text";
0 x

Jon
Moderator
Moderator
Posts: 1342
Joined: Wed Sep 12, 2007 12:49 pm

#4

Postby Jon » Wed Jun 01, 2016 8:10 am

An Ebase form is saved as a number of XML and text files, it wouldn't be a good idea to modify these directly. I doubt you would notice one extra fetch from the database.
0 x

t4nu
Ebase User
Posts: 305
Joined: Thu Jul 02, 2015 8:32 am
Location: Indonesia

#5

Postby t4nu » Thu Jun 02, 2016 3:02 am

IC.
Then it's better for me to try it..
Thanks.
Jon wrote:An Ebase form is saved as a number of XML and text files, it wouldn't be a good idea to modify these directly. I doubt you would notice one extra fetch from the database.
0 x


Who is online

Users browsing this forum: No registered users and 29 guests