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
gilbert8109gilbert8109 

make page refresh after input values

hi-

 

i have a visualforce page with 2 number input fields, and a third output field that is simply field 1- field 2.  How can I get the page to refresh so that field 3 is updated after field 1 is inputted with a value, and then refreshed again after field 3 is inputted with a value?  thanks.

 

there must be something like <apex:page action:"{!refresh}"> that I could put in after input field 1 and then again after input field 2 that will do this.  I imagine it is a simple 1 line code but don't know how to write it.

 

Thanks for the help

CaptainObviousCaptainObvious
You'll want to make use of the apex actionsupport and outputpanel tags. There are some nice samples here.
Message Edited by CaptainObvious on 10-06-2009 11:19 AM