TOPIC:

data protection 3 weeks 23 hours ago #273292

  • RonnyM's Avatar Topic Author
  • RonnyM
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 62
  • Thanks: 0
Hi :)

I have a question about statutory data protection:

No data from the form may be stored in the database. The data should only be sent to the recipient by email.

Is it enough to set the button to "No"? (see screenshot attachment)
Attachments:

Please Log in or Create an account to join the conversation.

data protection 3 weeks 23 hours ago #273294

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 10071
  • Karma: 3
  • Thanks: 679
Hi,

if you disable this then data will not be in the recipient email, he will receive mail without data

You want send data to recipient not to database, I will check how to get this and if this is possible I will inform you

Regards,
Tihana

Please Log in or Create an account to join the conversation.

data protection 3 weeks 23 hours ago #273296

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 10071
  • Karma: 3
  • Thanks: 679
Hi,

please go to your form->Advanced->More options->Submit pieces->End submit ->check Custom and put:
$this->execPieceByName('ff_InitLib'); 
$db = JFactory::getDBO();
  
//Create your own query here
$recordsDel = $db->setQuery("DELETE FROM #__facileforms_records WHERE #__facileforms_records.name = 'yourformname'");
$resultOne = $db->execute();

$subrecordsDel = $db->setQuery("DELETE FROM #__facileforms_subrecords");
$resultTwo = $db->execute();
facileforms_subrecords values will be purged totally so I hope you want that, and in facileforms_records will only delete that form form from records

Please replace yourformname with name of your form (not title)

You should get email and pdf with values, also set Log To Database to Nonempty values.

Let me know the result

Regards,
Tihana

Please Log in or Create an account to join the conversation.

data protection 3 weeks 23 hours ago #273298

  • RonnyM's Avatar Topic Author
  • RonnyM
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 62
  • Thanks: 0
I already use some forms where this option is deactivated, i.e. set to "No". The data is still sent via email, everything works.

But I'm not concerned with the transmission by email. I am only concerned with recording the data in the database. I have to prevent that somehow. If that works.


Ok, I'll try the solution with the code. Thanks! :)

Please Log in or Create an account to join the conversation.

data protection 3 weeks 23 hours ago #273299

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 10071
  • Karma: 3
  • Thanks: 679
Hi,

waiting for your feedback

Regards,
Tihana

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Moderators: ForumSupport
Time to create page: 0.048 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!