Go back to mobile site

 

Please note: The forums are currently intended for Kentico community. Although we monitor them time to time, we cannot guarantee a timely response. If you need a help with Kentico CMS, please feel free to send your message to support@kentico.com.

If you want to add new post or reply to post, please sign in.

Search: 

ASPX templates
Version 5.x > ASPX templates > Custom BizForm layout with hidden field View modes: 
User avatar
Member
Member
kheon-pixelmedia - 4/14/2011 10:51:53 AM
     
Custom BizForm layout with hidden field
We have a form that has a field marked to not show on the form, so when using the standard display things work but we've now styled it by using a custom layout and I'm unable to figure out how to get the hidden field populated now.

I've added the $$input:FieldName$$ to the custom layout and while it doesn't show (as expected) it isn't being populated any longer (by our custom code that sets the data manually in viewBiz_OnBeforeValidate.

Any advice?

User avatar
Kentico
Kentico
kentico_edwardh - 4/14/2011 2:50:18 PM
     
RE:Custom BizForm layout with hidden field
Hello,

Can you please post your code for the custom layout and the code you are using to populate the custom field so can take a look?

Best Regards,
Eddie

User avatar
Member
Member
kheon-pixelmedia - 4/14/2011 2:52:36 PM
     
RE:Custom BizForm layout with hidden field
No need, I fixed my issue by moving how I set my "hidden" field into the OnBeforeSave instead of having it in OnBeforeValidate. For some reason between setting it in OnBeforeValidate and OnAfterSave, my "hidden" column was being cleared. Not the case anymore.

1

Sitemap | Content Management System | E-commerce Software | Social Networking Software | Intranet | Online Marketing Solution | Copyright © 2004-2013 Kentico Software | Powered by Kentico CMS