Skip to main content
rijutag0003
August 24, 2022
Question

How to have the same functionality as refreshAfter=Keypress for a date field?

  • August 24, 2022
  • 5 replies
  • 0 views

How to have the same functionality as refreshAfter=Keypress (like in the text field) for a date field?

5 replies

stefanhelzle0001
Brainy
August 24, 2022

This cannot be configured. But the saveInto is evaluated as the user selects a date.

What is your use case?

rijutag0003
August 24, 2022

I have this Date field after which there is a Submit button. So, if any user deletes the date field value and directly clicks the submit button, it is getting submitted with a value it was populated with earlier. Refresh is only happening on clicking elsewhere. 

harshitb6843
August 24, 2022

Replace that date field with a text field and in the placeholder, instruct the correct format in which you would like the user to enter the value. Take the help of instructions and validations to guide the user and use the "KEYPRESS" with it.