<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Adding a Validation to a componet</title><link>https://community.appian.com/discussions/f/data/11775/adding-a-validation-to-a-componet</link><description>I would like to add a single validation to a component . Basically stating that a required field cannot be null..</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Adding a Validation to a componet</title><link>https://community.appian.com/thread/52020?ContentTypeID=1</link><pubDate>Fri, 26 Jan 2018 08:33:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3c65a7a9-602c-4615-8e1b-403332df96ac</guid><dc:creator>sahilb346</dc:creator><description>This functionality is by default given in Appian. In  your component there is a filed &amp;quot;required&amp;quot; make it true (required: true) then that field will be required and the user can&amp;#39;t make it null. and the message will shown to the user if the component is blank.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding a Validation to a componet</title><link>https://community.appian.com/thread/52015?ContentTypeID=1</link><pubDate>Thu, 25 Jan 2018 20:44:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:01c2ba0c-9c9b-4fb0-85ae-ab2f8757cf64</guid><dc:creator>Larson P Thune</dc:creator><description>&lt;p&gt;Your component will have a &amp;#39;Required&amp;#39; field, which you can set to true (e.g. a!textField(label: &amp;quot;My Field&amp;quot;, value: ri!textValue, saveInto: ri!textValue, required: true). This will throw a validation message to the user &amp;#39;a value field is required&amp;#39; if the user tries to submit the form without&amp;nbsp;providing a value in the field.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>