BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
AKHIL_2025
Fluorite | Level 6

Hi all,

 

 

I  created a dropdown filed in sas egrc XML screen. In the dropdown filed contains 2013 to 2040. But now requirement is ,if the user is choosing more than the current year then a error message populate on the screen. How to achevie this ii using xml custamization. Help needed.

 

Capture.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
LOVE_SAA
Obsidian | Level 7

Please try below piece of code

 

 

<field name="fieldname" type="something">
<validation test="fieldname GT 2040">
<errmsg>You can't selct greater than 2040</errmsg>
</validation>
</field>

View solution in original post

1 REPLY 1
LOVE_SAA
Obsidian | Level 7

Please try below piece of code

 

 

<field name="fieldname" type="something">
<validation test="fieldname GT 2040">
<errmsg>You can't selct greater than 2040</errmsg>
</validation>
</field>

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

Discussion stats
  • 1 reply
  • 1497 views
  • 0 likes
  • 2 in conversation