Is there a way through which I can disable a validation rule in Salesforce1 (User logging in from iPhone) but it should be activated while user logs in from laptop.

up vote 1 down vote accepted

This isn't possible. One of the major benefits of validation rules is that they run whenever those records are interacted with (except of course Quick Create...). Note from the documentation:

Validation rules verify that the data a user enters in a record meets the standards you specify before the user can save the record.

...

Validation rules apply to new and updated records for an object, even if the fields referenced in the validation rule are not included in a page layout or an API call.

Now, you could try to write a validation rule to check for Salesforce1 and skip it, but unfortunately that isn't possible. It isn't that easy to detect if you are in Salesforce1 under any circumstances, especially not in a validation rule.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.