Prevent plugin sending info to the database when condition is not necessary
-
Is there a way to prevent the plugin sending information to the database when a condition is not necessary? For example I have some fields that only appear if the user selects “yes” on a select field. If he selects “no” those fields are not shown on the front-end but the info is still sent to the database when the form is submitted. It sends empty fields.
I would like to prevent that because I’m showing empty fields on the wordpress dashboard for other connected users (I’m using Contact Form CFDB7 plugin to show the submitted form infos on wordpress dashboard, I’m not sending an email with the form informations).
- The topic ‘Prevent plugin sending info to the database when condition is not necessary’ is closed to new replies.