I'm using a copy of the registration page in Power Pages (not a Basic Form). I have added two additional fields (firstname
and lastname
) manually using HTML and JavaScript. These fields render properly and are injected into the DOM before the form is submitted.
I’m trying to capture the values and submit them along with the standard registration data so they are saved to the newly created Contact record in Dataverse.
Here's what I’ve tried:
-
Injecting
firstname
andlastname
as<input type="hidden">
fields right before form submission. Using JavaScript to sync the values and manually callform.submit()
. -
Ensured that
firstname
andlastname
exist in Dataverse (Contact table).Added Entity Permissions for Contact with Create access for Anonymous users
However, the custom fields are still not saved to the Contact after registration.
Questions:
-
How can I correctly pass additional fields during the default registration form submission in Power Pages?Does the built-in registration process ignore non-default fields unless they are explicitly mapped in the template or backend?
-
Is there a supported way to extend the registration payload so custom fields are posted to Dataverse?