c# - Changing BizForm properties Kentico -
i trying have bizform part of transformation as:
<cms:bizform runat="server" id="bizform" formname="yourbizformcodename" enableviewstate="false" formdisplaytext="form submitted"/>
in documenttype/pagetype have field allows user enter whatever want display once form has been submitted, in theory need go , change formdisplaytext has been provided.
i have tried using eval("submittext") inside formdisplaytext, doesn't work.
does have solution this?
thank you
following code works fine me (kentico v8.1):
<cms:bizform runat="server" id="bizform" formname="test" enableviewstate="false" formdisplaytext='<%# cms.macroengine.macrocontext.currentresolver.resolvemacros("{%currentdocument.submittext#%}") %>' />
Comments
Post a Comment