Skip to main content
ankushs0002
Known Participant
July 2, 2024
Question

Through Validation Group date field is not getting required

  • July 2, 2024
  • 6 replies
  • 0 views

I have a scenario where I need to make a date field required. I have a sub-interface with a date field, and in the parent interface, there's a submit button where the validation parameter is set to true. I'm using a validationGroup named 'Submit' for the date field, with the required attribute enabled.


6 replies

stefanhelzle0001
Brainy
July 2, 2024

The button AND the date field need to share the exact same validation group value.

ankushs0002
Known Participant
July 3, 2024

Thanks [mention:a11f77a729fb4db2af76b09948583328:e9ed411860ed4f2ba0265705b8793d05] ,

Yeah i did that yesterday i saw that after that i fixed. Thank you very much

konduruc733182
July 3, 2024

Looks like the Validation Group parameter is not been configured in the buttonWidget. Also the value that you provide in both the places are case sensitive. Must be of exact format.

ankushs0002
Known Participant
July 3, 2024

Hi [mention:2df2892a4df7486f9775b4d2f0e405fd:e9ed411860ed4f2ba0265705b8793d05] ,

Yeah i did that yesterday i saw that after that i fixed. Thank you very much

annap0005
July 3, 2024

Components in a validation group will not display the asterisk (*) that normally denotes a field's requiredness.

 Refer this.

ankushs0002
Known Participant
July 3, 2024

Hi [mention:4fb5fa1aa0514278b7481d374a17ed4d:e9ed411860ed4f2ba0265705b8793d05] ,

Yeah i did that yesterday i saw that after that i fixed. Thank you very much