- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to write the rules for CMS_INPUT_DOM Size
Hi,
Please find the attached screen shot and help me out from this issue.
Thansk in advance.
- Labels:
-
Developers
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'd suggest to use a CMS_INPUT_TEXT field too, as there is only a limitation to (length) for the cms input dom.
<RULE>
<WITH>
<NOT>
<GREATER_THAN>
<PROPERTY source="cs_description" name="LENGTH"/>
<NUMBER>1024</NUMBER>
</GREATER_THAN>
</NOT>
</WITH>
<DO>
<VALIDATION scope="SAVE">
<PROPERTY source="cs_description" name="VALID"/>
<MESSAGE lang="*" text="Only 1,024 characters allowed!"/>
<MESSAGE lang="DE" text="Es sind nur 1.024 Zeichen zugelassen!"/>
</VALIDATION>
</DO>
</RULE>
Best regards
Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
if the editor is not allowed to select more than one contact, maybe you can save this contact in a seperate component and not in the CMS_INPUT_DOM.
Best regards
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'd suggest to use a CMS_INPUT_TEXT field too, as there is only a limitation to (length) for the cms input dom.
<RULE>
<WITH>
<NOT>
<GREATER_THAN>
<PROPERTY source="cs_description" name="LENGTH"/>
<NUMBER>1024</NUMBER>
</GREATER_THAN>
</NOT>
</WITH>
<DO>
<VALIDATION scope="SAVE">
<PROPERTY source="cs_description" name="VALID"/>
<MESSAGE lang="*" text="Only 1,024 characters allowed!"/>
<MESSAGE lang="DE" text="Es sind nur 1.024 Zeichen zugelassen!"/>
</VALIDATION>
</DO>
</RULE>
Best regards
Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Syed,
do you need further help or did Tim's and Martin's reply already help you? If so, it would be great if you marked their reply as "correct answer" so that other community users find the solution easily. If you have
already found a solution by yourself, it would be very kind of you, if you posted it here.
Best regards,
Sebastian

