Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Image as Submit button in a BizForm? View modes: 
User avatar
Member
Member
evanmcd - 3/4/2010 1:49:34 PM
   
Image as Submit button in a BizForm?
Hi,

I'm not finding a way to use an image input type as the submit for a BizForm. I've put the tag in my custom layout, and even added a onClick="aspnetForm.submit()" to it. Still, whenever I try to submit the form with the image, the page does not submit.

Submitting with the standard button works fine.

Thanks.

Evan

User avatar
Kentico Consulting
Kentico Consulting
kentico_mirekr - 3/5/2010 5:12:12 AM
   
RE:Image as Submit button in a BizForm?
Hi,

You can modify the BizForm web part according your needs. In code behind of your web part you are able to access the BizForm SubmitButton and modify it according your needs:

this.viewBiz.BasicForm.SubmitButton
this.viewBiz.BasicForm.SubmitImageButton

This is standard ASPX .NET Button control (ImageButton).

Best regards,
Miroslav Remias.