I have a html form that I have turned into an ajaxForm via the ajaxForm({...}) call. One of the elements is a fileInputElement. Also, I have integrated a MultiSelector (MultiSelector Source). When the input element changes I do some validation to make sure the user selected a file that matches something they marked on the web page. The issue I have is, if the user selects a bad file, I return false, but then the file input element is still pointing at the 'bad' file that the user selected. I would either like to prevent this or clear it after returning false. Any ideas?
For reference, simply changing the value of a file input element is not allowed for security reasons. I tried the 'innerHTML' trick of setting innerHTML to itself, but that did not work either.