Notifications
Announcements
No record found.
Please suggest.
*This post is locked for comments
Hello ,
This is due to the " <" "> " , which is unable to parse . Try to replace those special characters at the time of on save -
function escapeHtml(text) { return text .replace(/&/g, "&") .replace(/</g, "<") .replace(/>/g, ">") .replace(/"/g, """) .replace(/'/g, "'"); }
Hope this helps.
Hi CRM Tech,
It seems like you have invalid characters causing the potentially dangerous request...
Remove the greater than and less than signs from your comment field...
Just to be a little bit clear about the issue, see the following link about request validation.
docs.microsoft.com/.../request-validation
Hope this helps...
Hi,
As I mentioned in this https://community.dynamics.com/crm/f/117/t/278528 post. Angle brackets are not supported in Multiline fields on Portal due to its own limitations.
You can use below code under custom javascript to get rid of this error:
$(window).load(function(){
// Remove default onpaste event of textarea$("#id").removeAttr("onpaste");
// OnKeypress Event$('#id').keypress(function(event) {if (event.keyCode == 60 || event.keyCode == 62) {alert("You are not allowed to enter Angle brackets");return false;}});
// Onpaste Event
$("#id").bind('paste',function(){setTimeout(function(){ //get the value of the input textvar data= $('#id').val() ;//replace the <> to '' var dataFull = data.replace(/[<>]/g, '');//set the new value of the input text without special characters$('#id').val(dataFull);});
});});
If my answer helped to resolve your issue, kindly verify it by clicking 'Yes'. It would be helpful to the other community members seeking to resolve a similar issue. CheersArpithttps://arpitmscrmhunt.blogspot.in
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
SA-08121319-0 4
Calum MacFarlane 4
Alex Fun Wei Jie 2