Thank you very much for your reply. However, it is not due to the validation. It is due to the tab wrap. I have custom fields that are wrapped in the tabs. The custom fields in the inactive tabs are not working as it is.
The 'required' condition for data in the inactive tabs are not working. The 'required' condition only works in the active tab.