exam questions

Exam PL-400 All Questions

View all questions & answers for the PL-400 exam

Exam PL-400 topic 14 question 2 discussion

Actual exam question from Microsoft's PL-400
Question #: 2
Topic #: 14
[All PL-400 Questions]

You need to add the script for the registration form event handling.
Which code segment should you use?

  • A. formContext.data.entity.addOnSave(myFunction)
  • B. formContext.data.addOnLoad(myFunction)
  • C. formContext.data.removeOnLoad(myFunction)
  • D. addOnPreProcessStatusChange
  • E. formContext.data.isValid()
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
shibax
Highly Voted 2 years, 2 months ago
anser is addonLoad
upvoted 6 times
...
ziggy1117
Highly Voted 8 months, 3 weeks ago
Selected Answer: B
answer is correct. Information about upcoming tournaments must be pre-located into the registration form when the registration form loads
upvoted 5 times
...
RavinBrissy
Most Recent 2 months, 3 weeks ago
Selected Answer: B
The question doesn't elaborate the requirement. whether to load information or display button.
upvoted 2 times
...
[Removed]
1 year ago
A. formContext.data.entity.addOnSave(myFunction) This will allow to implement following requirement: “The form must include a custom button that sends an email confirmation to the player after the player registers. The button must not be visible until after the form is saved.” With event handler onSave the behavior of the button (visible/not visible) can be controlled
upvoted 5 times
chiari_do
11 months, 2 weeks ago
Agree!
upvoted 2 times
...
...
MarioM
1 year, 7 months ago
Selected Answer: E
Handling events after loaded, so we use isValid
upvoted 2 times
...
PrincipalJoe
2 years, 2 months ago
It states: "for the registration form"! So the correct anwswer is isValid() which checks the validity of the entered data!
upvoted 1 times
Rastinan
2 years, 2 months ago
Any normal registration form then yes you'd be right, but it mentions "Information about upcoming tournaments must be pre-located into the registration form when the registration form loads" which is the part this question is referring to
upvoted 13 times
...
...
ruhuo
2 years, 2 months ago
https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/formcontext-data/addonload
upvoted 2 times
...
ppguru
2 years, 3 months ago
This one should be : E. formContext.data.isValid()
upvoted 5 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago