I am trying to bind / validate a flash form field based on the data input by
the user, that is passed to a function in my application.

For example, the user enters an employee ID, and I want to check to see if
that ID is in a database of ID's. When the user enters the ID I would (possibly
by binding?) pass the value to a CF function that will validate the employee
ID, and return a 1/0 based on whether the number was found.

Normally, on a HTML form, I would wait unti the form is submitted, and then do
the usual "throw back" to the original form - exactly what Flash forms are
supposed to overcome! Doing the validation when the user tries to submit the
form would do suffice.

Do I need to validate / call the function using action script? If so, can that
script call a CF function (on the same page as the form)? Alternatively, can I
make a SQL call in AS?

Any insight appreciated.

David