You can't access Server side scripts unless the user submits the form first.
I you want to show content on the fly relating to what has been entered in a field, you will need to have already loaded the data, then use Javascript to show and hide it.
:->