Seems the whole 'error' thing comes form turning on DirectEdit on the Standard fields.
Turning off DirectEdit makes things work fine but since the number of fields is more like 20, Direct Edit would be preferred but not sure of a workaround. Is there a better practice for doing this? or just easier to do outside if Workflow isnt' required, etc?... On Oct 26, 5:08 pm, trevc <[email protected]> wrote: > I want to be able to display a entry form when a user is in edit mode, > but a different layout when not editing and in reality, what the page > will be when published. > > The following class code kinda works as it displays the 'rendered' > asp code when not in edit mode and the simple entry of the two values > when IN edit mode, however I'm missing something as NOTHING shows up > in page preview (and obviously nothing is published as well). > > Any hints on direction would be appreciated. > (Yes, I am a newbie) > > <!-- User edits this in CMS --> > <!IoRangeRedDotMode> > <!IoRangeRedDotEditOnly> > > Enter the following items:<br /> > dummysq1: <%std_DummySQ1%> <br /> > dummysq2: <%std_DummySQ2%><br /> > > <!/IoRangeRedDotEditOnly> > <!/IoRangeRedDotMode> > > <!-- Show this when not in edit mode, publishing, etc. --> > <!IoRangeNoEditMode> > <!IoRangePreExecute> > <% > dummysq1 = "<%std_DummySQ1%>" > dummysq2 = "<%std_DummySQ2%>" > totalDummy = CInt(dummysq1) + CInt(dummysq2) > %> > The total is: <%=totalDummy%> > <!/IoRangePreExecute> > <!/IoRangeNoEditMode> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
