TOPIC:

Check box: yes or not 3 months 1 day ago #260680

  • Topic Author
  • SaraCal
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 16
  • Thanks: 0
I have configurated a small integration between "acymaing" and the "breezing forms", with the breezig forms integrator.

I have configurated it to when an user send in the form your name and your mail will be include in de data base of acymailing, but I don´t know write in php and the last step to get a perfect integration is that when an user select that he want suscribe at the acymailing, the integrator write 1 or 0, depending of the case, really I need the php code that say (if you select yes, the table are a 1, and if you select not, the code that the integrator record is 0).

I can´t know if you can help me, or if there are other form to made the integration.

I send you several images:
Attachments:

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

Last edit: Post by SaraCal.

Check box: yes or not 3 months 1 day ago #260681

  • Mirec's Avatar
  • Mirec
  • Offline
  • Ultimate Breezer
  • Ultimate Breezer
  • Posts: 1011
  • Karma: 2
  • Thanks: 53
Hi,

I didn't understand what you want, but we'll try to find a solution for this.
In the link below, I'll send you a link on how to use integrator, maybe it helps you to find what you want.

crosstec.org/en/support/online-documenta...update-tutorial.html

If I understood in radio group in your form if you select 'yes' you want to save the value '1' in a database or if you select 'NO' you want to save value '0' in the database, or?

Update

you can do on the way, that in element 'radio grup' in label 'Yes' setUp value '1', in the label 'No' setUp value 'o', and when you select yes and submitted it in the database, record in the database will be saved as 1. and otherwise 0.

see attached file.

Regards,
Mirko
Attachments:

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

Last edit: Post by Mirec.

Check box: yes or not 3 months 1 day ago #260682

  • Topic Author
  • SaraCal
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 16
  • Thanks: 0
Dear Mirko,

thank you very much for your answer.

Yes, the video shows exactly what I have done except the last step, that like you say I need the php code to when an user select "yes" the value will be "1" in database and if the user selct "no" the value will be "0".

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

Check box: yes or not 3 months 1 day ago #260683

  • Mirec's Avatar
  • Mirec
  • Offline
  • Ultimate Breezer
  • Ultimate Breezer
  • Posts: 1011
  • Karma: 2
  • Thanks: 53
Hi,

you can do on the way, that in element 'Radio Group' in label 'Yes' setUp value '1', in the label 'No' setUp value 'o', and when you select 'Yes' and submitted it in the database, record in the database will be saved as 1. and
opposite of that 0.
0;Yes;1  // 1 - goes in database 
0;No;0 // 0 - goes in database

Can you use the Radio Group or Check box groups instead Check box?

see attached file.

Regards,
Mirko
Attachments:

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

Last edit: Post by Mirec.

Check box: yes or not 3 months 1 day ago #260684

  • Topic Author
  • SaraCal
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 16
  • Thanks: 0
Thank you Mirko, but there are somethicn wrong, i received the message "syntax error, unexpected '0' (T_LNUMBER)"

I send you an image

Could it be that the field "confirmed (tinyint)" is not correct?

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

Check box: yes or not 3 months 1 day ago #260686

  • Mirec's Avatar
  • Mirec
  • Offline
  • Ultimate Breezer
  • Ultimate Breezer
  • Posts: 1011
  • Karma: 2
  • Thanks: 53
Hi,

1) I can not see attached image
2) which element you created, Check box Groups or?


Regards,
Mirko

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

Time to create page: 0.055 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!