Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Template Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Form validation with submit images not working


Go to End


2 Posts   1678 Views

Avatar
pingu

Community Member, 75 Posts

3 June 2010 at 2:08pm

I've got a few custom forms on a site I'm working on, and they are working marvelously when I use FormAction(). However, I need to replace the buttons out with images, and when I use ImageFormAction(), the validation stops working. Any ideas on why this might be?

Avatar
3dgoo

Community Member, 135 Posts

4 June 2010 at 6:29pm

You can put the images into the buttons using css.

Is this not an option?