I created a payment form using chronoforms and it looks nice. I am helping with a website for a non-profit org. for free.
I created the payment options by using the group checkboxes (example: 1 ticket ($35), etc)
The problem is how do I assign an input name to the different payment amounts when all the checkboxes have the same name. Please help!
I created the payment options by using the group checkboxes (example: 1 ticket ($35), etc)
The problem is how do I assign an input name to the different payment amounts when all the checkboxes have the same name. Please help!
Hi Della,
Presumably they have the same name but different values?
Please drag a Debugger action into the On Submit event, then submit the form and post the debug - including the 'dummy emails' results here.
Note: if you are using the Easy Wizard you can turn on Debug on the Others tab.
Bob
Presumably they have the same name but different values?
Please drag a Debugger action into the On Submit event, then submit the form and post the debug - including the 'dummy emails' results here.
Note: if you are using the Easy Wizard you can turn on Debug on the Others tab.
Bob
Hello,
I had to delete the paypal redirect so I can run the debugger. Here are the results:
How do I proceed? I need to be able to redirect to paypal. I used a group checkbox to input the prices. Would it be possible to allow the buyer to enter into a box the number of tickets they want to purchase?
I had to delete the paypal redirect so I can run the debugger. Here are the results:
Data Array:
Array
(
[chronoform] => PaymentForm
[event] => submit
[input_checkbox_group_10] => Array
(
[0] => 4 Gala Guest Tickets ($200)
)
[input_text_1] => name
[input_text_2] => Fakelast name
[input_text_3] => organization
[input_text_4] => address
[input_text_5] => city
[input_select_6] => Kansas
[input_text_15] => 42355423
[input_select_12] =>
[input_text_7] => wew@email.com
[input_submit_17] => Submit
[eee18f47fc8c98aae522d1f064cd24b3] => 1
)
Validation Errors:
Array
(
)
How do I proceed? I need to be able to redirect to paypal. I used a group checkbox to input the prices. Would it be possible to allow the buyer to enter into a box the number of tickets they want to purchase?
Gala Ticket Selection
1 Gala Guest Ticket ($50)
2 Gala Guest Tickets ($100)
3 Gala Guest Tickets ($150)
4 Gala Guest Tickets ($200)
5 Gala Guest Tickets ($250)
6 Gala Guest Tickets ($300)
7 Gala Guest Tickets ($350)
8 Gala Guest Tickets ($400)
9 Gala Guest Tickets ($450)
10 Gala Guest Tickets ($450)
Hi Della,
I'm surprised that you needed to remove the PayPal Redirect action :-(
If that happens again, you cam always make a copy of your form and edit the copy for testing.
I suspect that you need to use a Radio Button group instead of a checkbox group for the ticket purchase selection unless people can make more than one selection there? (That doesn't look right to me).
I'd suggest that you set the names of the ticket options to something like:
Then you can check the value on form submission and if it is 10 set the value to 450, otherwise to the value * 50.
Bob
I'm surprised that you needed to remove the PayPal Redirect action :-(
If that happens again, you cam always make a copy of your form and edit the copy for testing.
I suspect that you need to use a Radio Button group instead of a checkbox group for the ticket purchase selection unless people can make more than one selection there? (That doesn't look right to me).
I'd suggest that you set the names of the ticket options to something like:
1=Gala Guest Ticket ($50)
2=Gala Guest Tickets ($100)
3=Gala Guest Tickets ($150)
4=Gala Guest Tickets ($200)
5=Gala Guest Tickets ($250)
6=Gala Guest Tickets ($300)
7=Gala Guest Tickets ($350)
8=Gala Guest Tickets ($400)
9=Gala Guest Tickets ($450)
10=Gala Guest Tickets ($450)
Then you can check the value on form submission and if it is 10 set the value to 450, otherwise to the value * 50.
Bob
Hello,
I changed the checkboxes to a radiobox group and I added the redirect to paypal and tested the form. I selected option 4 ($200 for 4 tickets), here is the order summary on paypal:
I am not sure where to go or what to click on to change the values of the fields. Also paypal only picked up the name and last name. The address, city, state, etc did not copy over. I would appreciate your help! I am very new to all this. Thanks in advance!
I changed the checkboxes to a radiobox group and I added the redirect to paypal and tested the form. I selected option 4 ($200 for 4 tickets), here is the order summary on paypal:
Your order summary
DescriptionsAmount
4
4$8.00Item price: $8.00Quantity: 1
Item total $8.00Total $8.00 USD
I am not sure where to go or what to click on to change the values of the fields. Also paypal only picked up the name and last name. The address, city, state, etc did not copy over. I would appreciate your help! I am very new to all this. Thanks in advance!
Hi Della,
I'm sorry there isn't enough information here to know what is happening. Can you ask whoever set up the PayPal redirect?
I would expect you to have some custom code to calculate the amount to charge.
Bob
I'm sorry there isn't enough information here to know what is happening. Can you ask whoever set up the PayPal redirect?
I would expect you to have some custom code to calculate the amount to charge.
Bob
Hello,
When I add custom code or click on code to add amount value of each item, my form is not showing up instead I get tables with words in them as you can see in the attached file.
I am having a problem figuring out how to edit the amount value for the tickets and not with the paypal redirect.
I would appreciate your help and I am willing to donate when this form finally works!!
When I add custom code or click on code to add amount value of each item, my form is not showing up instead I get tables with words in them as you can see in the attached file.
I am having a problem figuring out how to edit the amount value for the tickets and not with the paypal redirect.
I would appreciate your help and I am willing to donate when this form finally works!!
Hi Della,
I don't know how to do that. It looks as though you have some table code inside a Custom Element element. I don't know how that relates to the PayPal action.
Please take a Form Backup using the icon in the Forms Manager and post it here (as a zipped file) or PM or email it to me and I'll take a closer look.
Bob
I don't know how to do that. It looks as though you have some table code inside a Custom Element element. I don't know how that relates to the PayPal action.
Please take a Form Backup using the icon in the Forms Manager and post it here (as a zipped file) or PM or email it to me and I'll take a closer look.
Bob
Hello,
Well the above error is only happening when I add a custom code or click on code and edit it. Otherwise, the form will show correctly. My main concern is how would I edit the amount value of the tickets being sold without editing the html code? Is there any way I can do this from the form wizard?
Well the above error is only happening when I add a custom code or click on code and edit it. Otherwise, the form will show correctly. My main concern is how would I edit the amount value of the tickets being sold without editing the html code? Is there any way I can do this from the form wizard?
Hi Della,
I'm sure that you can do it from the Wizard using Custom Code actions (and maybe some other way); but I don't know enough about how your form works to tell you how.
Bob
I'm sure that you can do it from the Wizard using Custom Code actions (and maybe some other way); but I don't know enough about how your form works to tell you how.
Bob
Hi Della,
I got the form backup thank you but when I unzip it the for in-side is 8Mb (it should be less than 100Kb) and mostly full of one repeated character. Something is badly wrong either with the form or the zipper you are using.
Bob
I got the form backup thank you but when I unzip it the for in-side is 8Mb (it should be less than 100Kb) and mostly full of one repeated character. Something is badly wrong either with the form or the zipper you are using.
Bob
Hi Della,
I managed to remove the junk and get the file-size down. The junk was all \ characters and they seem to be related to the apostrophe in Cote d'Ivoire in the country lists. Here's a small example:
I suspect that your site has the PHP setting use_magic_quotes enabled and this is causing the problem.
If you can I suggest that you remove the quote from the country name and either leave it out or replace it with an HTML entity. (Or better, turn the Magic quotes off.)
Bob
PS There are also a lot of tabs and spaces in the country list values that may mean that the values don't match up correctly.
I managed to remove the junk and get the file-size down. The junk was all \ characters and they seem to be related to the apostrophe in Cote d'Ivoire in the country lists. Here's a small example:
<option value="Cote d\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'Ivoire">Cote d\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'Ivoire</option>
I suspect that your site has the PHP setting use_magic_quotes enabled and this is causing the problem.
If you can I suggest that you remove the quote from the country name and either leave it out or replace it with an HTML entity. (Or better, turn the Magic quotes off.)
Bob
PS There are also a lot of tabs and spaces in the country list values that may mean that the values don't match up correctly.
This topic is locked and no more replies can be posted.