Umbraco Forms: How do I change the class on the Submit BTN?
I am using Umbraco forms and I wanted to know if I could change the class on the submit btn instead of re-defining the style for btn-primary on my page.
I already looked at "https://docs.umbraco.com/umbraco-forms/developer/themes/" but I did not find what I was looking for
I don't believe there is currently any way to individually manage classes on elements of an Umbraco Form (someone could correct me if that's changed). You can, however, add a class to the form itself via the settings tab when designing a form.
Depending on whether all your forms should use your alternative button styling or only specific ones, you could utilize the class on a form to change the submit button styling or define it globally for form elements in the site styles.
Form themes are also an option, but could potentially be a bit of overkill for something so small. But if you didn't have access to tweaking/adding classes in site styles then it could be useful in that case.
Umbraco Forms: How do I change the class on the Submit BTN?
I am using Umbraco forms and I wanted to know if I could change the class on the submit btn instead of re-defining the style for btn-primary on my page.
I already looked at "https://docs.umbraco.com/umbraco-forms/developer/themes/" but I did not find what I was looking for
any help is greatly appreciated.
I don't believe there is currently any way to individually manage classes on elements of an Umbraco Form (someone could correct me if that's changed). You can, however, add a class to the form itself via the settings tab when designing a form.
Depending on whether all your forms should use your alternative button styling or only specific ones, you could utilize the class on a form to change the submit button styling or define it globally for form elements in the site styles.
Form themes are also an option, but could potentially be a bit of overkill for something so small. But if you didn't have access to tweaking/adding classes in site styles then it could be useful in that case.
Yeah, That is what I am doing but wanted to see if there was a better way.
Thank you.
is working on a reply...