AnsweredAssumed Answered

Create related record in popover

Question asked by user26927 on Apr 27, 2016
Latest reply on Apr 27, 2016 by dsvail

Hello!

 

I am trying to create a new related record from a popover.  Here is a little context:

Contacts -- Enrollments -- Courses

where enrollments is a join table between contacts and courses. 

 

From the CONTACTS layout I have a popover which will serve as the registration form. 

In the popover I created global fields and used the set field script to populate the fields in the ENROLLMENT table (via a button in the popover). 

There is a script trigger to clear to global fields when the popover closes.

 

Everything works fine....ONCE.  If I attempt to register the same contact to a different course....it alters the existing enrollment instead of creating a new one. 

 

What am I doing wrong?

 

Thanks for the help!

Outcomes