Based on selection of Days in one field, the second fields should be change
Hi,
As per the requirement, i have 3 fields naming StartDay, EndDay, LaunchDay.
1. Start day is a dropdown with Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday.
For Example, if i select start day==Thursday--> then End day==Wednesday and Launch Day ==Thursday(which is next day of end day).
Is there any function to accomplish this logic.
Here, I have written Data Transform on change of Start Day. So i need to use this function to map the String to EndDay.
@srikavyav
I believe you're using DataPage or PageList to source the dropdown lists.
Use this function to find the index of Pagelist for StartDay = IndexInPageList
Start Day
End Day == Start Day index + 1 (if the value is > 7, then use logic to go back to the start day of the week)
Launch Day = Start Day index + 2 (if the value is > 7, then use logic to go back to the start day of the week)