Skip to main content
December 9, 2021
Question

Saving Date in Database table in Readonly Format

  • December 9, 2021
  • 11 replies
  • 0 views

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
December 9, 2021

A field set to readOnly does never evaluate the saveInto.

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

December 9, 2021

can you Elaborate

stefanhelzle0001
Brainy
December 9, 2021

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

Do you have a specific question?