is there a way to bind a cfc method to the onBlur event of a text field? in other words, after the user typed something in a text field, can i check that string against a db query and see if it`s a duplicate before submitting the form?
Probably, but this reply concerns what happens if it is a duplicate. With onblur(), or onchange() If you simply display some information to the user, that user can ignore the information and submit the form anyhow. That may or may not be what you want.
Also, if you are using onblur(), make sure you take into account that the user could exit the field without having entered any text.
thanks a lot, works