Jump to content

Duplicate valiations for the repeater items(start date and end date)


SIERRA
 Share

Recommended Posts

Hi,

  1. We have 'Seminar_Schedule' repeater field in the template (One of the Admin Control Panel Page)
  2. Inside the 'Seminar_Schedule' repeater field (parent), we have 'SS_Datetime' repeater field.
  3. Inside the 'SS_Datetime' repeater field (child), We have 'SS_Startdatetime' and 'SS_Enddatetime' fields.

How to do validation for 'SS_Startdatetime' and 'SS_Enddatetime' fields for below cases.

  • Disallow creating duplicate items with the same date and time
  • The 'SS_Startdatetime' value must not set within the range of existing items 'SS_Startdatetime' and 'SS_Enddatetime' fields.
  • Similarly, The 'SS_Enddatetime' value must not fall within the range of existing items 'SS_Startdatetime' and 'SS_Enddatetime' fields.

 

Screenshot_261.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...