boatdrinks
IS-IT--Management
I am using a custom validator to check the value of a drop-down. if the value = something, then I want the textbox next to it to require a string of 8 characters.
Here is my function
Sub validatebarcode(source as Object, value as ServerValidateEventArgs)
If inserthardware.selecteditem.value="something" Then
'a string of 8 characters is required for textbox1
end if
End sub
I don't know how to write this code the then statement.
Here is my function
Sub validatebarcode(source as Object, value as ServerValidateEventArgs)
If inserthardware.selecteditem.value="something" Then
'a string of 8 characters is required for textbox1
end if
End sub
I don't know how to write this code the then statement.