11 Oct 2022
Link to this post
I have an edit form that has multiple TPC form configured. On display of the page, the primary TPC form will always return data but the subform might not as the related record might not exists yet. Although the page loads, submitting the form generates an error, I think because it is trying to submit both entity records yet the second one didn't exist. I was able to hide the section when the subform doesn't contain data but it is still submitted which generates an error.
Is there a way to not submit the related form data on Submit of the page?
To give context to what I'm trying to do, the primary entity is the Contact record. The related form is Portal User. I'm trying to show a workflow button when the Portal User data is blank so that I can create it otherwise I show the Username field and a list of Portal User Records in a subgrid.