Image button instead of "input"

white_america 29 Aug, 2011
Hi! How I can change HTML code of button? I need to use image instead of <input>.
Regards, Eugene.
GreyHead 30 Aug, 2011
Hi Eugene,

Use a Custom Element for the Submit button (assuming that you are using CFv4).

Bob
white_america 30 Aug, 2011
Can you write template how do this?
Code of my button: <input name="" type="image" src="send_btn.jpg" />.

I added it in "code" place. But when I added my custom button in Form Wizard - nothing happens.
Thx.
GreyHead 30 Aug, 2011
Hi white_america,

You need to add the full folder path to the image name - something like /images/stories/send_btn.jpg or /components/com_chronoforms/images/send_btn.jpg

In Joomla! you can almost never safely use a relative url as you can't be certain which folder the code will be executed from - it's always safer to spell it out.

Bob
white_america 30 Aug, 2011
Thx, Bob! It's example SRC. In Joomla! I added full path. Don't work😟
GreyHead 30 Aug, 2011
Hi white_america,

Please post a link to the form so I can take a quick look.

Bob
GreyHead 30 Aug, 2011
Hi white_america,

Ok - that's CFv3 not CFv4.

It should save if you add a parameter in the box at the bottom. Any text will do - just a buglet.

Bob
white_america 30 Aug, 2011
Bob, thank you very much! It's working🙂

Second question, if I may writing in this topic.
If I don't attach file and send information from form I see this error:
[attachment=0]error.jpg[/attachment]
Mail don't sending to e-mail.
Sorry for my bad english.
Regards, Eugene.
GreyHead 31 Aug, 2011
HI white_america,

Is this the latest ChronoForms version 3.2?

If so there's a bug in the File upload code. Please see this post.

Bob
white_america 31 Aug, 2011
Thx, Bob! It's working well now! Good feedback from you.
This topic is locked and no more replies can be posted.