The only safe way to assign a placeholder value to a variable within a preexecution script block is to return the value via RQL.
A pain to do, but its the only safe bet if your your placeholder is either a text/standard field - and contains quotes. On Nov 5, 9:35 am, Jian Huang <[email protected]> wrote: > Hi Joe, > > Yes, after all, that is how to pass placeholder value to variables for > preexecution, either via C#, ASP, coldfusion, etc. > > However, please keep in mind that the resulting preexecution must be > valid and free of syntax error. > > Example: > C# > > string myString = "<%stf_my_standard_field%>"; > > Resulting code: > string myString = "he says, "Hello World!""; > > invalid code due to unescaped quote > > On Nov 4, 4:17 pm, Joe <[email protected]> wrote: > > > Is it possible to place headlines or standard fields between > > preexecute tags? > > > Thanks -- You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/reddot-cms-users?hl=en.
