Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Bizform submit button View modes: 
User avatar
Member
Member
Chanan - 3/15/2011 3:29:29 PM
   
Bizform submit button
We are trying to replace the bizform submit button and used an image with a form.submit() - but it ignores the form submission. IS there a way to replace the submit button?

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 3/15/2011 5:03:58 PM
   
RE:Bizform submit button
Hi,

In the Bizform section in CMS Desk -> Tools on the General tab youo can specify the "Submit button image" property and replace the default button. It is the URL to the image you want to use.

Best regards,
Juraj Ondrus

User avatar
Member
Member
Chanan - 3/15/2011 5:46:35 PM
   
RE:Bizform submit button
Is there a way to place a css class on the image?

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 3/22/2011 10:25:09 AM
   
RE:Bizform submit button
Hi,

Regrettably there is no easy way how to do it. You will need to modify the bizform web part code and access the RenderedHTML property and change the HTML code according to your needs.

Best regards,
Juraj Ondrus

User avatar
Member
Member
snk1324 - 6/8/2011 11:06:22 PM
   
RE:Bizform submit button
Sure there is...

Generate custom form layout. Place a submit button on the form. Go into the source for the layout, and wrap the submit button in a div and place a class on the div, like "submit". Then you can either add a style block to the bizform source, or add to your normal css something like:

<style>
div.submit input {
background: #ccc;
border: 1px solid #222;
}
</style>