g
Frontend | Backend | Api

Forms\Models\Frontend\Step

Step

Method Description Returns
hasFileInput() Returns whether current step has InputFile. This method can be used to decide whether to add `enctype="multipart/form-data"` to form. bool
getId() int
getType() string
getName() string
getPosition() int
getCreated() Date the record was created. DateTime
getModified() Last modification date for the record. DateTime
getRevision() FormRevision
getSubmissions() Collection (StepSubmission)
getElements() Collection (BaseElement)
getSettings() array
isNewRecord() Check if the record is a new record bool
isHierarchicalModel() Check whether a model is a hierarchical model, i.e. can have children bool