# REQUIRED

### Property description

The required attribute prevents submitting components until validation matches a specific condition. It also highlights the current element as mandatory.

<div align="left"><img src="https://lh4.googleusercontent.com/PpZ6lBZmq4VCnjDB2lTr35Ac7EiSM3cSBQjhVkgahfrvwgji0eOiSkfXaTYv0E7i-ald4Tkt4jwjI893VN0C2rAaLH7o_ITFU5UvyThhgaWj43f5q7DQKQeJIshiY3c_8-kbYYIR" alt="Switching a state as a constant"></div>

<div align="left"><img src="https://lh5.googleusercontent.com/x99-wSSZGtGWavsqmVe2Vt_gG1uwnyeyNRrSWnfL_69DrKtdOY-0MMyaIyS1K5wOUEIQ_RilK4Kiz0f9OUjnQRqNjtQJbYHGVbS_R_oWo-47vKDgVgrDlqM2M-4KBTMLBLkgl3Oe" alt="ƒx (Boolean)"></div>

### State

Set up the required attribute for a current component.

### Value type

true, false

### Availability

[File Upload](https://docs.adapptio.com/reference-guide/components-list/file-upload)
