I have created a login form on my page and have used the BeginUmbracoForm to create this form and use cutom inputs within.
Want I would like to do is to set the class of the form that is created via the BeginUmbracoForm, is this possible or do I have to manualy create the form (I have attempted this but I get an error so have gone back to BeginUmbracoForm).
Setting form class with @Html.BeginUmbracoForm
Hi,
I have created a login form on my page and have used the BeginUmbracoForm to create this form and use cutom inputs within.
Want I would like to do is to set the class of the form that is created via the BeginUmbracoForm, is this possible or do I have to manualy create the form (I have attempted this but I get an error so have gone back to BeginUmbracoForm).
Hello,
You can set the class like this:
This is the html it will render:
Jeroen
Thank you, all good now.
Glad I could help. Can you please mark the post as the solution if it helped you.
Jeroen
is working on a reply...