How to add Condition logic on the form