Hi ,The regex(validation-regex="[^ ]+") I wrote to check for a blank space is working fine for "text" item ,but the same is not working for "textarea" item.The regex I wrote will not allow the user to save the dcr if he tries to enter only space bar.anyway I am attaching the code below for both the items
continueparagraph="true"
Can you explain what you are trying to accomplish? Basically, you set items' required attribute to true and validate that only space can be entered.Is it the sort of field that is populated by system (inline, FormAPI, whatever) and the only thing allowed for the user is to clean it up?If so, make the field read-only and give him "CleanUp" callout button. If not, what is the purpose of it?
"^[ ]+$"
"[^ ]+"
<P>...</P>
I think you misread the regex ...
I absolutely did. Thanks
Hi, ISCBorisBhere I am left with only one chance ,that is to use regex only ,but not javascript to validate that fieldbest regardssrikanth kyatham
Did not understand why you are left with using regex only, why not use the formAPI for the same? As Adam has mentioned you can do the same using formAPI.
Here I am correcting posts again ;-)
Seems not just good with Teamsite but also with proof reading... MUP (Multi-utility Person)
You're lucky - I usually charge for such services ;-)