It would be interesting to be able to customize the button for an entity type.

This module is great btw !

Comments

tedbow’s picture

What kind of customization? Text or image? Image could be done via css

eme’s picture

Well, the text. A of an example, I use this module for contact forms : just the most easiest way to have a custom contact form with recording.

So the almost only thing that lacks is to change "Submit the form" with "Contact us" for example, when no image button is needed.

mrfelton’s picture

+1 for being able to customize the submit button text. 'Submit' is pretty generic and not user-friendly in the majority of cases. Usually it makes for a better experience if the submit button of a form is labeled with something relevant to the purpose of the form - eg. 'Contact us' in the case of a contact form.

tedbow’s picture

Status: Active » Needs review
StatusFileSize
new4.02 KB

Ok, I have attached a patch for this. Check it out and let me know

mrfelton’s picture

StatusFileSize
new4.55 KB

Thanks, that does the job. Here is a version that fixes us the whitespace issues with the previous patch and applies cleanly through git.

arrow’s picture

The patch in #4 applies and works great!

#5 does not apply to latest from git.

tedbow’s picture

StatusFileSize
new5.43 KB

Re-rolled patch against latest git and ran through coder review. Whitespace issues should be resolved

tedbow’s picture

Status: Needs review » Fixed

I just pushed this to 7.x branch.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.