Skip to main content
Known Participant
Dec 9, 2021 9:59 AM UTC
Question

Saving Date in Database table in Readonly Format

a!textField(
label: "Date Of Application",
labelPosition: "ABOVE",
value: ri!today(),
saveInto:{ri!today(), a!save(ri!LM_CustomerDetails.loanid.dateOfApplication,today())} ,
readOnly: true
)

i need to save the date in database . i have tried various means but cannot find correct way. can anyone solve this.

thanks 

Yeswanth

11 replies

stefanhelzle0001
Brainy
Dec 9, 2021 10:04 AM UTC

A field set to readOnly does never evaluate the saveInto.

Do you have a submit button? Put that logic in there.

Known Participant
Dec 9, 2021 10:15 AM UTC

can you Elaborate

stefanhelzle0001
Brainy
Dec 9, 2021 10:24 AM UTC

Hm ... about what? A submit button also has a saveInto. This is evaluated as the user clicks it.

Do you have a specific question?