Form
The Form component is a form element wrapper. It simply places a form
element around its children.
and includes the csrf token in the form.
Attributes
action
(String): The URL to submit the form to.method
(String): The HTTP method to use when submitting the form. Defaults toPOST
.files
(Boolean): If present, the form will accept file uploads.
Basic Usage
<aura:form action="/submit">
<-- form elements go here -->
</aura:form>
File Upload
<aura:form action="/submit" files>
<-- form elements go here -->
</aura:form>
© 2025 kolleg-essig. All rights reserved.