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
Rahul22Rahul22 

Show Save record on VF without commuting to the database

Hi Experts,

Need your advice where upon entering values in VF page, data should not commit(save) to database instead just appear on the same VF page in the form of detail page.

Thanks in advance.

Best Regards,
Avishek Nanda 14Avishek Nanda 14
Hi Rahul,

You can use Java Script or Jquery to disble. Define your function and call onClick button. 
$("#myForm :input").prop("disabled", true);

Something like above would help you. 

Regards,
Avishek