I'm looking for a way to automatically insert "na", as in "not available", into the text database when a user does not fill in a field.
Basically, I'm too darn lazy to research the code snippet myself and I'm wondering if anyone can tell me where it needs to go and the code that will say..
if field(isEmpty){
insertIntoDB('na');
}
else{
insertIntoDB(feildcontents)
}
Any assistance would be greatly appreciated.
Thanks
J.D.M.
Basically, I'm too darn lazy to research the code snippet myself and I'm wondering if anyone can tell me where it needs to go and the code that will say..
if field(isEmpty){
insertIntoDB('na');
}
else{
insertIntoDB(feildcontents)
}
Any assistance would be greatly appreciated.
Thanks
J.D.M.