Home
TeamSite
Better use of CDATA option
shivgaytri
I have taken a label and a textbox in the datacapture.cfg file.
Once I enter any data in the textbox, like which may break the xml., for which I have appended CDATA to the entire text. Now when onSaveValid comes to action, function is called which appends the CDATA to the given value of the text(i.e, ).
Can you suggest any better approach for the same?
Find more posts tagged with
Comments
Migrateduser
I think you're referring to content that has ampersands or trademarks or other special characters. We have had our users enter in & or ® for those. I believe VisualFormat or TinyMCE will do the same for you. Although I have yet to use either. I plan on rolling them out soon.
gupt_a123
Could not able to follow your reply you posted.!
curiousmaverick
use the corresponding hex code for the special characters.