Hi all,
I Need to display static value in the text field and same value should save into one more variable ,
Please advise.
load( local!getTexfieldValue,
{ a!textField( value: "abc", saveInto: { a!save(local!getTexfieldValue,save!value) },),a!textField( value: local!getTexfieldValue,)})
Regards
Pallavi N
Discussion posts and replies are publicly visible
I'm not clear what you're trying to do here over all, but you should note that the saveInto for any field (regardless of what type of field it is) only executes upon user interaction.
Hi Mike,
can I get the static value of the text field with out refreshing the text field. I need to save that value to one more local variable so that i can use it to insert into Database.
it looks like Dhananjay Kumar already gave you a working answer below, but just to clarify, "get static value of a text field" isn't really thinking about it in the right order. A read-only text field just displays a value you feed in, it doesn't "have" a value to "get". Any static values you want to have handy for use in other places on a form should be declared in a local variable, where they'll be accessible for whatever else you want (display, writing to DB, etc).
Thanks Mike