D) addOnPreProcessStatusChange and E) formContext.data.isValid() don't seem relevant to the question. I think we're looking for something that specifically handles the save event.
C) formContext.data.removeOnLoad(myFunction) is definitely not the right answer. Why would we want to remove the load event handler when we need to add the save event handler?
I'm not sure about the others, but B) formContext.data.addOnLoad(myFunction) seems like it would only add the function to the load event, which isn't what we want here.
A) formContext.data.entity.addOnSave(myFunction) looks like the correct answer here. We need to add the script for the registration form event handling, and this method allows us to attach a function to the save event of the form.
Desiree
14 days agoAriel
16 days agoYvonne
22 days agoBeata
24 days agoDawne
1 months agoKristin
3 days agoEzekiel
20 days agoJohnna
22 days agoLeila
2 months agoHorace
9 days agoTarra
10 days agoReuben
2 months agoElfriede
2 months agoReuben
2 months ago