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
1 months agoAriel
1 months agoGraciela
5 days agoKattie
13 days agoYvonne
1 months agoBeata
1 months agoTwana
4 days agoElmer
7 days agoShayne
19 days agoDawne
2 months agoKristin
23 days agoEzekiel
1 months agoJohnna
1 months agoLeila
2 months agoHorace
29 days agoTarra
1 months agoReuben
3 months agoElfriede
3 months agoReuben
3 months ago