Button
3 min
the button element is the primary action trigger in procesio forms it can be used to submit the form, trigger a process, execute javascript, navigate between steps, or initiate any other interaction that requires deliberate user intent when submit is set to true, clicking the button submits the form and its collected data when used without submission, it acts as a pure action trigger β useful for intermediate saves, data refreshes, or launching sub processes mid flow its label, visibility, and interactive state are all controllable from the data model at runtime, making it easy to implement conditional ui patterns like 'show submit button only after all required fields are filled' key use cases β’ primary form submission (submit true) at the end of a form flow β’ triggering a mid form process (e g , fetch data, validate externally) without submitting β’ dynamically disabling the button until all required conditions are met β’ hiding the submit button until the user has completed a specific step β’ presenting multiple action options (approve / reject) as separate buttons runtime api β attributes in procesio forms all attributes below are accessible and modifiable at runtime via the element's data model in procesio forms β on any available event such as onload, onclick, or custom triggers api name description type default notes label the button's display text string β β tooltip tooltip text shown on hover string β β infotext supplementary info displayed near the button string β β readonly if true, the button is non clickable boolean false β visible controls button visibility boolean true β name unique element name string β β id unique element id string β β submit if true, clicking this button submits the form boolean false β for support, please join our https //discord com/invite/cebukgjefv for further assistance and support
