I am trying to create a form within a Power Pages portal website, that will create a new Case and associated Contact using the customer information defined in the fields.
The example is a general enquiries form, where the user shouldn't have a login or view details, but just submit a form for the Dynamics 365 back-end user to manage and resolve.
Because a Contact is a required field for a Case, how could this be achieved with OOTB functionality, or JavaScript on the page?
For example, these are the fields that would be presented to the user:
- First Name
- Last Name
- Email
- Question Description
- Attachments
Submitting this form should create a new Case with a preset Case type of Question, and be associated with a new Contact using the full name and email supplied.