Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Adobe AD0-E704 Exam - Topic 10 Question 80 Discussion

Suppose you are working on a specific uicomponet form where front-end customers can update their name and phone number only when the admin user sets the editable_field_flag to 1 for his submitted data from the backend. According to this flag, when loading the data in the form for front-end users, how would you check and customize to enable/disable the name and phone number fields?
C) In uicomponet xml, under DataSource node, include the Form Provider Javascript component ''Magento_Ui/js/form/provider'' and extend it to customize the specific fields when data is being populated by it.
A) In uicomponet xml, under fieldset node, include the Form Provider Javascript component ''Magento_Ui/js/form/provider'' and extend it to customize the specific fields when data is being populated by it.
B) In uicomponet xml, under fieldset node, include the Form Provider Javascript component ''Magento_Ui/js/form/dataProvider'' and extend it to customize the specific fields when data is being populated by it.
D) In uicomponet xml, under DataSource node, include the Form Provider Javascript component ''Magento_Ui/js/form/dataProvider'' and extend it to customize the specific fields when data is being populated by it.

Adobe AD0-E704 Exam - Topic 10 Question 80 Discussion

Actual exam question for Adobe's AD0-E704 exam
Question #: 80
Topic #: 10
[All AD0-E704 Questions]

Suppose you are working on a specific uicomponet form where front-end customers can update their name and phone number only when the admin user sets the editable_field_flag to 1 for his submitted data from the backend. According to this flag, when loading the data in the form for front-end users, how would you check and customize to enable/disable the name and phone number fields?

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

0/2000 characters
Norah
3 days ago
Wait, can we really only edit fields with that flag? That's wild!
upvoted 0 times
...
Ashley
8 days ago
D) sounds right, but I'm not sure about the dataProvider part.
upvoted 0 times
...
Lindsey
13 days ago
C) seems a bit off, isn't it?
upvoted 0 times
...
Valentin
18 days ago
I think B) makes more sense for data handling.
upvoted 0 times
...
King
24 days ago
A) is the way to go for customizing fields.
upvoted 0 times
...
Zena
29 days ago
I definitely remember extending the Form Provider, but I can't remember if it was supposed to be in the DataSource or fieldset.
upvoted 0 times
...
Delsie
1 month ago
I feel like option A sounds familiar, but I might be mixing it up with something else we covered.
upvoted 0 times
...
Tarra
1 month ago
I think we practiced a similar question where we used the dataProvider, but I can't recall if it was in the fieldset or DataSource node.
upvoted 0 times
...
Leota
1 month ago
I remember we discussed how the editable_field_flag should control the form fields, but I'm not sure if it's under fieldset or DataSource.
upvoted 0 times
...

Save Cancel