Notifications
Clear all
Topic starter
07/09/2022 11:53 am
You need to add the script to populate event data on the form.
Which code segment should you use?
- A . formContext.data.addOnLoad(myFunction)
- B . formContext.data.removeOnLoad(myFunction)
- C . formContext.data.entity.addOnSave(myFunction)
- D . addOnPreProcessStatusChange
- E . formContext.data.isValid()
Suggested Answer: D
Explanation:
IsValid() gets a boolean value indicating whether a l of the form data is valid. This includes the main entity and any unbound attributes.
Description: true if a l of the form data is valid; false otherwise.
Reference: https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/formcontext-data/isvalid
Explanation:
IsValid() gets a boolean value indicating whether a l of the form data is valid. This includes the main entity and any unbound attributes.
Description: true if a l of the form data is valid; false otherwise.
Reference: https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/formcontext-data/isvalid