How to implement a logic similar to the refreshAfter field in a!dateField as we do for a!textField?

Requirement: How to implement a logic similar to the refreshAfter field in a!dateField as we do for a!textField? We would like the page to refresh when the DOB field is clicked again, and a different date is selected.

a!dateField(
label: "DOB",
labelPosition: "ABOVE",
value: ri!input.dob,
saveInto: ri!input.dob,
showWhen: cons!PARAMETER[2] = tostring(local!input),
required: true
),
a!textField(
label: "Address Line 1",
labelPosition: "ABOVE",
placeholder: "Enter Text ...",
value: ri!input.addressLine1,
saveInto: ri!input.addressLine1,
refreshAfter: "KEYPRESS",
showWhen: cons!PARAMETER[2] = tostring(local!input)
)

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data