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

Popular posts from this blog

javascript - How to synchronize the Three.js and HTML/SVG coordinate systems (especially w.r.t. the y-axis)? -

javascript - How do I find how many occurences are there of a highlighted string, and which occurence is it? -

java - Reading data from multiple zip files and combining them to one -