refresh a form

S

SS

Guest
I have a form in which the form fields are created dynamically based
on the selection of one particular field.

However I would like to know how to write the callback so that form is
refreshed and displays the new field list.

I am not trying to refresh the values in other fields but trying to
get new set of fields.

My callback creates the list of new fields but how do I pass the set
of new fields to the currently displayed form and ask the form to
refresh.

thanks,
Sriram
 
In article <655edd20-67e8-4344-bace-f7c9e8115194@i29g2000prf.googlegroups.com> SS <ssriramiyer@gmail.com> writes:

My callback creates the list of new fields but how do I pass the set
of new fields to the currently displayed form and ask the form to
refresh.
You would use hiDeleteFields() to delete the old set of fields and
hiAddFields() to add the new fields.

However, if the set(s) of fields are determinate, you could always use a
tab field or multiple scroll regions. With the tab field, use the tab to
make the selection. with scroll regions, make only the appropriate scroll
region visible.

-Pete Zakel
(phz@seeheader.nospam)

"Suppose for a moment that the automobile industry had developed at the same
rate as computers and over the same period: how much cheaper and more
efficient would the current models be? If you have not already heard the
analogy, the answer is shattering. Today you would be able to buy a
Rolls-Royce for $2.75, it would do three million miles to the gallon, and
it would deliver enough power to drive the Queen Elizabeth II. And if you
were interested in miniaturization, you could place half a dozen of them
on a pinhead."
-Christopher Evans
 

Welcome to EDABoard.com

Sponsor

Back
Top