Skip to main content
October 27, 2009
Question

how can i get cfselect to repopulate after database update?

  • October 27, 2009
  • 1 reply
  • 571 views

I have a form with a cfselect generating a dropdown of Program Directors. I have a link near the dropdown to a page for adding Program Directors.

I want to be able to click the link, add a Program Director, then have the cfselect-generated dropdown in the form show the current list of Program Directors (including the one just added).

How can get the list of Program Directors in the dropdown show the new list of Program Directors without having to refresh the form (thus losing information already entered into the form)?

Thx

This topic has been closed for replies.

1 reply

Inspiring
October 27, 2009

google "javascript add option to select"

October 27, 2009

The user will know the name of the Program Director, but will not know the ID field for record just inserted into the database for the Program Director. The ID will be submitted in the form submittal.

Is it possible to get the cfc to fire again, updating the ID / Program Director Name info in the dropdown?