function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
BabuMBabuM 

is it possible to access a field in validation rule which is not part of page layout

Is it possible to access a field value in validation rule which is not part of page layout? And the field value will be setting by passing id=value in the URL

Saravanan @CreationSaravanan @Creation

Hi Babu,

 

You can access the field but you can not set the url id value to the field.

 

validation rule is used to validate the value of the field when the record is inserting and updating.but not setting the value.

BabuMBabuM

Hi Saravanan,

 

Thanks for your reply. Let me explain what exactly I am looking. In a standard edit page of contract, thru url want to set the field value and this field will not be a part of page layout. While clicking on "Save" I want to fire validation rule using the filed value which I set thru URL. ex: /setup/ui/recordtypeselect.jsp?ent=01IW00000008WtO&00NW0000000OLKz=FIELDVALUE&retURL=%2F{!Account.Id}&save_new_url=%2Fa1J%2Fe?retURL=%2F{!Account.Id}&CF00NW0000000Ny3l_lkid={!Account.Id}&CF00NW0000000Ny3l={!Account.Name}

 

Thanks

Babu

Saravanan @CreationSaravanan @Creation

Hi

 

only way to implement is through trigger.