Hey zoho team! how to add multiple records using script?

Hey zoho team! how to add multiple records using script?

Have volunteers  that would like to be able to add record per quantity chosen.. I have some ideas below, would this work? is there a workaround?

Wonder if there could be if (date of records are between this date and this date), add records from Start date time to end date time....

// check to see if start date is more than end date
if input.startdate <input.enddate
// calculate the number of weeks, or days ect in this case lets say 7 weeks
input.totalweek=enddate-startdate

add record 1 input. start_date plus one week
add record 2 input.start_date plus two weeks

OR here is another thought

hmm wonder if this could be achieved with checkboxes..
ie I want this event to repeat for
[]1 week [] 2 week [] 3 week []4 weeks ect

if select one weeks add record input.startdate plus one week
if select two weeks add record one week input.start date plus one week
add record plus input.startdate plus two weeks
and so on...

Now if they wanted it to repeat for checkboxes
[] Sunday [] Monday [] Tuesday[] Wenesday[] Thursday [] Friday [] Sat
maybe could do come scripting for that too in the same add record style

would probably work for monthly too...


for our volunteers, up to 8 weeks would be fine, most people forget or change their schedule by then and they can renew their participation

how could this be scripted? any ideas on this?

there has to be a way of adding records by increment, I am assuming php can do this, hopefully deluge can too.