Hi all
I am editing an existing system (which is a minefield) and I need a quick solution to a problem.
A field can contain strings separated by commas. This field is a jquery widget which allows the user to delete the strings by clicking on them however it leaves behind the commas (behind the scenes) so when the field is posted and all strings have been deleted, there are a collection of commas left in the $_POST.
Is there a quick way I can run a check to see if the $POST contains commas but no alpha numeric characters? If it does I will then just set the $POST value as NULL.
Many Thanks
Doug