Property | Description | Returns |
---|---|---|
hateoasLinks | Get the HATEOAS links for the record | array |
showUrl | Get the url for exporting a pdf for the record. | string |
deleteUrl | Get the url for deleting the record. | string |
id | int | |
token | string | |
completed | DateTime | |
created | Date the record was created. | DateTime |
modified | Last modification date for the record. | DateTime |
site | Site | |
revision | FormRevision | |
form | Form | |
createdBy | User | |
modifiedBy | User | |
stepSubmissions | Collection (StepSubmission) | |
elementSubmissions | Collection (ElementSubmission) | |
data | Gets data by key => value for every submitted element of this form. Value could be either a string or an array. | array |
result | Retrieves the result of the form submission based on the active revision's settings. This function processes the form's submission action and returns the appropriate result. It handles two actions: 1. If the action is 'showResultStep', it gathers all the text elements from the result steps. 2. Otherwise, it returns a redirection URL if configured. | array |
Forms\Models\Api\FormSubmission
FormSubmission