add basic required validation based on jquery validation