Power Pages:-
In this task first take the Blank power pages Basic Form

If the name is entered, the fields will be immediately locked.

as well as failing to unlock the options-set fields

Use jQuery to lock and unlock the fields in power pages.
Code :
$(document).ready(function () {
$(“#crmonce_name”).change(function () {
if ($(this).val()) {
// Lock the fields
$(“#crmonce_email”).prop(“disabled”, true);
$(“#crmonce_platenumber”).prop(“disabled”, true);
} else {
// Unlock the fields
$(“#crmonce_email”).prop(“disabled”, false);
$(“#crmonce_platenumber”).prop(“disabled”, false);
}
});
});
When I unlock the email and number plate fields and delete the name from the name field

For any Help or Queries Contact us on info@crmonce.com or +91 9493926112
https://www.crmonce.com/how-to-create-sub-grid-records-in-power-pages/