Create one record per multi select
Hi,
I'm looking to create a single new record for EACH selection in a multi-select. I have a stateless form "Add Campaign" asking all the same fields as the main form "Campaign"
except that the stateless form has a multi-select for the field "Test Name" while I would like each record in "Campaign" to only have one Test Name. Therefore, on the stateless form "Add Campaign" I would like help with the script when the user presses "submit", it will Add a Record in "Campaign" with a single Test Name tied to each and all other information stays the same.
Example:
The user inputs the below into the "Add Campaign" Form
Location: New York, NY
Test Name: (multli select) Algebra II, Geometry I, Bar Exam
Start Date: 5/16/14
End Date: 5/20/14
Once the user presses "Submit", the below is automatically entered into the "Campaign" Form
(1st record)
Location: New York, NY
Test Name: Algebra II
Start Date: 5/16/14
End Date: 5/20/14
(2nd record)
(3rd record)
Please let me know if this explanation is clear. Thank you in advance for your help!