No doubt you have heard the latest version of Web Forms for Marketers — better known as WFFM — now works on Sitecore MVC — don’t know about you but I am quite excited over this!
Plus, as an added bonus — and this made my day when I installed it 😀 — you can change most of the rendered markup for forms in Views that ship with the module (these are installed into ~\Views\Form\EditorTemplates\ of your Sitecore instance).
However, the other day, I discovered the submit button text is hard-coded in one of the module’s Views:
As you may know, the module does provide a field on Form Items to change the submit button text:
Unfortunately, the value of this field is not being put into the value attribute of the submit button in the View above.
I have alerted Sitecore support of this issue via a ticket though do recommend modifying ~\Views\Form\EditorTemplates\FormModel.cshtml to use the submit button text set on the Form Item if you are using WFFM on Sitecore MVC:
As you can see, the value of the submit button text field is set on a property of the model, and can be easily be put into the value attribute of the submit button.
If you have any thoughts on this, please share in a comment.
Great find 😀 implemented and confirmed working.
Awesome! Thanks Nat!
Mike
Thanks Mike!
I must say the MVC version of the module has so many issues that it really made me look like a fool with a client. I added 4 patches so far. This is for Sitecore 7.2 and WFFM 2.141008
Is there anything I can do to help?
Thanks Mike, everything sorted now. Your post was very helpful.