How to set attributes like class, placeholder on form field on front-end?
Created 7 years ago by lckamal

Can we add class or set other attributes on the input? tried using setClass but input disappears after the change.

{% set form = form('register').get() %}

you can checkout this video for how to make module Forms for the Frontend:

lckamal  —  7 years ago Best Answer