Hi, i have a question, well, i have a form where i can add data, but i want to generate a random number in my input, so in my input i put in the display value this "todecimal(text(rand()*(10^6),"000000"))"when i view my db, in the field i only get 'null', so, how can i generate a random number and store on my data type?
thanks!
Discussion posts and replies are publicly visible
In Appian, form fields will only execute their saveInto on a direct user interaction. To write data to your CDT and then later to DB, you can either set default values or add a few a!save() to the saveInto of your submit button.