Home
TeamSite
Tinymce- Required="t" attribute is not working
kalai
Hi All,
I have created the dct with only one tinymce and i made tinymce field as required.
Teamsite version is 6.7.1 SP1.
1.I have given content as single space of tinymce and saving perfactly.
2.I removed the single space value in tinymce and I tried to save the dcr and its saving without error eventhough the field is empty. Say the dcr name as x.
3.I have opened the dcr x in notepad and Its showing some values like this (<P> </P>).
If there is no value or no blank space in tinymce then it should give the default error message (Either required fields have not been filled out or fields contain invalid values.).
Please help me to get this issue solved.
Code Snippet :
Help Box Description
Enter the help box description
<br />
Thanks in advance
Kalai
Find more posts tagged with
Comments
moonkhanna
Well, thats the default behaviour for Tiny MCE or any other editor. What you can do is validate this in your FORM API onSave event and set the DCR as invalid if you discover that field has nothing else other than the p tags
apurba1
Hi,
I am having the same problem. Do u ahve any solution for it?
Thanks
moonkhanna
apurba,
as stated in my previous response - Well, thats the default behaviour for Tiny MCE or any other editor. What you can do is validate this in your FORM API onSave event and set the DCR as invalid if you discover that field has nothing else other than the p tags
Kavitha_Sundaram
Hi Kalai,
Did you find a fix to this? I am using TS 6.7.2 and i am encountering the same issue.
Thanks in Advance.
CRB
i also have this bug in tinymce ts 6.7.1 SP1 Patch 4. iwov support was able to reproduce this issue on their side on patch 4, but not with patch 5. so it was suggested to us to upgrade to patch 5. from the release notes of Patch 5 it looks like they provided newer version of tinymce with a lot of tinymce bugs fixed.
so i would say, try to upgrade to patch 5 if you have the flexibility to do so and let us know if it really resolves the issue.