I am having two textfields consider A and B. When i enter a value for B, the corresponding value should be passed in Field A.
FOR EXAMPLE :
Field A is Dependant on Field B Values IF Field A IS EMPTY it can be saved IF Field B has any of the following values "1111" or "1112" then the field A should get autopopulated with a value "ABCD" .If other than the above said values are entered, Field A should be able accept values that should be in the length of 4 characters.
Can we Attain this by validation rule or do we need any other way to achieve it rather than using APEX/VF page. IF possible please provide me the guidance with possible ways or links.