Free Microsoft Power Platform PL-400 Actual Exam Questions - Question 5 Discussion
HOTSPOT A JavaScript function on a Contact form alerts users to what they need to type, as shown in the JavaScript Code exhibit. (Click the JavaScript Code tab.)
The Business Phone field has the OnChange event handler defined as shown in the Event Handler exhibit. (Click the Event Handler tab.)
Users report that there is incorrect wording on the Contact page, as shown in the Contact exhibit. (Click the Contact tab.)
You need to determine what happens when a user modifies the business phone of a contact record. For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point. 
The alert definitely uses a fixed string, so it won’t adjust if the label changes on the form. That explains why users see the wrong wording after updating the field label.
Another angle is that the OnChange event is only triggered after the field loses focus, so users might not see the alert immediately while typing. Also, since the alert message is hardcoded, it won’t reflect any label changes made on the form, causing that mismatch. So even if the phone number is entered correctly, the alert still pops up with outdated wording, which can confuse users. This suggests the issue is both about when the event fires and how the message is constructed in the code.
The alert uses a fixed string, so it won’t match changes to the field label dynamically.
The wording in the alert doesn't match the field name-definitely confusing.