+ Start a Discussion
aditya prasadaditya prasad 

How to save a value to a field without adding to page layout ?

I have created a custom link on case (say) which goes to a custom object Visit (say)records's edit page.In link i have used url which carries casenumber.
I have created a field Case Number on Visit Object. I want to save Case Number of the Case on Case Number field of Visit Object while creating Visit Record from Case.But I don't want to put the field on Page layout of Visit Object. 

If I don't put field on layout, after saving the record the field contains blank.
How to achieve this ? I don't want to go for vf for this small change.