[jQuery] Validating autosuggest output

[jQuery] Validating autosuggest output


I have a form with a location field. The selection of the location
value happens through the autosuggest box. When I choose the location,
I also show the location information below the field using the show/
hide feature.
If the user is choosing the location via dropdown, I have no issues.
But if the user doesn't find the location in the dropdown, I want him
to add his location to the db. . Do I need to validate the value once
again with a script and display the message to add a new location. Or
is there any better way of doing it
thanks.
Anush