I am experiencing som wierd behaivior. I'm running 4.7.1.
I have a document type with a Richtext Editor (tidy=false and validElements=* set in configuration) and a macro container. I also have a razormacro wich is a <form> that I copy-n-pasted from a google spreadsheet form (actually there's no razor on cshtml-file, just basic html)
Now, I first tried to insert the macro in RTE, the form renderes fine *exept* for the actual <form>-tags, wich wheren't rendering at all. Then I tried to put the macro in via the macro container. This resulted in two form on my page obviously, the first RTE one rendered without <form>-tags, but the second MacroContainer one rendered *with* the <form>-tags (and the form submitted and everything worked). I thought "Great! I'll just use the macro container one" and deleted the macro from the RTE.
I expected everything to work fine here, but I was suprised by the fact that the form-tags where now missing from the macroContainer rendering!?
I've tried adding/removing noumerous times, but the form only seems to render correctly when I have the macro *both* int the RTE and MacroContainer.
What could possibly be causing this? And what could be causing the stripping of tags in the first place?
Rendering <form> from MacroContainer and RTE
Hello,
I am experiencing som wierd behaivior. I'm running 4.7.1.
I have a document type with a Richtext Editor (tidy=false and validElements=* set in configuration) and a macro container. I also have a razormacro wich is a <form> that I copy-n-pasted from a google spreadsheet form (actually there's no razor on cshtml-file, just basic html)
Now, I first tried to insert the macro in RTE, the form renderes fine *exept* for the actual <form>-tags, wich wheren't rendering at all. Then I tried to put the macro in via the macro container. This resulted in two form on my page obviously, the first RTE one rendered without <form>-tags, but the second MacroContainer one rendered *with* the <form>-tags (and the form submitted and everything worked). I thought "Great! I'll just use the macro container one" and deleted the macro from the RTE.
I expected everything to work fine here, but I was suprised by the fact that the form-tags where now missing from the macroContainer rendering!?
I've tried adding/removing noumerous times, but the form only seems to render correctly when I have the macro *both* int the RTE and MacroContainer.
What could possibly be causing this? And what could be causing the stripping of tags in the first place?
I was so sure I didn't have any <form runat="server"> on the page, but I was wrong. I'm an idot. Thanks.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.