exam questions

Exam PL-400 All Questions

View all questions & answers for the PL-400 exam

Exam PL-400 topic 14 question 3 discussion

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

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()
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
wwwtmmm
Highly Voted 1 year, 11 months ago
Selected Answer: A
A. addOnLoad
upvoted 9 times
MarlyB
1 year, 11 months ago
Why do you think that?
upvoted 3 times
...
...
ppguru
Highly Voted 1 year, 11 months ago
I would say this one is A -formContext.data.addOnLoad(myFunction). Since "information about upcoming tournaments must be pre-located into the registration form when the registration form loads". There is another question that asks for code to handle event registrations; that one should have isvalid code
upvoted 5 times
...
Juan0414
Most Recent 3 months, 3 weeks ago
Selected Answer: A
There are two events for the form: 1. "Information about upcoming tournaments must be pre-located into the registration form when the registration form loads" -> OnLoad 2. "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" -> OnSave So, this other question (https://www.examtopics.com/discussions/microsoft/view/70122-exam-pl-400-topic-14-question-2-discussion/ is related to the second one. And this one says "to populate event data on the form", so It should be related to "OnLoad" So: A. formContext.data.addOnLoad(myFunction)
upvoted 1 times
...
[Removed]
8 months, 3 weeks ago
formContext.data.addOnLoad(myFunction). This way the requirement “Information about upcoming tournaments must be pre-located into the registration form when the registration form loads.” can be meet.
upvoted 2 times
...
alevalli9
9 months, 1 week ago
Selected Answer: A
A is correct to me
upvoted 1 times
...
shibax
1 year, 10 months ago
addOnLoad is correct
upvoted 2 times
...
shibax
1 year, 10 months ago
Eis correct
upvoted 1 times
...
SolimanMasry
1 year, 11 months ago
Seems E is the correct answer
upvoted 1 times
...
Andy2021sp
1 year, 12 months ago
Could someone give the correct answer please?
upvoted 2 times
...
sumiiiiiiiii
2 years ago
isValid() function is there in option E not in D. Is it that answer is E?
upvoted 1 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 ...