- andynowlenAsked on January 22, 2013 at 06:11 PM
Hi, In my form and in the Stripe payment section, the choice of one registration fee is pre-filled when the page is opened. I would prefer that it not be pre-selected because the total does not update unless the check mark is removed and then clicked again in order to select it. Then the total will properly update. However, when the first choice is pre-filled the total that shows is not accurate and does not update unless another choice is selected.
I have tried to save the form with all choices left blank but it does work. Thanks for your help. Andy
- JotForm SupportDeygusAnswered on January 22, 2013 at 07:13 PM
One way that I can think of right now that after doing some testing should work would be to grab the form's source code and modify the scripting in it.
You will need to look for this line -
<div id="cid_34" class="form-input-wide"><span class="form-product-item"><input class="checked" class="form-checkbox validate[required]" type="checkbox" id="input_34_1001" name="q34_34[id]" value="1001" />
Then remove this section from the above line of code -
This will make the code look like this -
<div id="cid_34" class="form-input-wide"><span class="form-product-item"><input class="form-checkbox validate[required]" type="checkbox" id="input_34_1001" name="q34_34[id]" value="1001" />
Doing this will allow it to go unchecked as displayed but because of this I would highly recommend that you turn on your form's " Field Requirement " option so that it does not get bypassed which is why you notice in the code line above there is a validation of checkbox required variable added to prevent that from happening.
- andynowlenAnswered on January 23, 2013 at 02:21 PM
Hey that is great. I think that accomplishes part of what I need to do. One important part of the challenge remains. This is a registration form for a retreat. It is possible that a registrant will not be paying for her own registration. This means that I cannot mark this field as 'required' on the form.
Back to the main point, the Stripe payment section is pre-filled with one registration selected, but no amount shows in the Total. When testing the form, if I just accept that as is, complete the rest of the form and print it the TOTAL does NOT update. No registrant or customer of any sort would accept this situation where the total to be charged to their credit card is not shown.
The total does show up in Stripe test, and in the Jotform Submissions. But the total does not show on the form unless the pre-filled check mark is removed and then replaced by the registrant/customer.
I hope this can be solved. Thanks.
- JotForm SupportEduardoMendezAnswered on January 23, 2013 at 02:43 PM
Here is a clone of your form:
I added a new product and placed it at the top of the list. I made this product free ($0.00) and then I used CSS to hide it as a workaround.
So, even though it is selected by default, it does not show on the form.
You can clone the sample form if you would like to use it. Here is a guide to help you with that:
I hope that helps!
- andynowlenAnswered on January 23, 2013 at 03:16 PM
Thanks. That seems to be a good solution. Personally, I don't think the problem should exist. Maybe your engineers should look that over.
- JotForm SupportDeygusAnswered on January 23, 2013 at 04:00 PM
On behalf of myself and my colleague you are very welcome. We often conjure up ideas to create workarounds as a means to create the same effect per request to try to help meet yours and others needs even though it is not always feasible right away since we don't always have a perfect solution or feature to every known app and problem across the intranet. But our developers are always working consistantly on fixes, updates, and more which can often include new features and releases while taking requests into consideration in this mix.
If you would like we would be more then happy to submit that information as a request to be added to our Features Request List but we won't be able to say as to when something like this could become available if considered since our developers are often busy with higher priority issues.
- andynowlenAnswered on January 24, 2013 at 11:09 AM
On this question about how the 'Total' field does not show correctly... That doesn't seem like a feature request. It seems to me that the 'Stripe Payment Field' should work correctly after doing the wizard. The "Total Field" not updating correctly in a credit card transaction is not a feature request. It is more like a bug or error in the implementation of Stripe (which by the way, we really like dealing with). I am sure you all can decide how you want to deal with this, but I would investigate it on behalf many of your users who use or would like to use Stripe. The work around is also cumbersome because it prints out on every report for every registration/transaction.
Still, I appreciate you doing the work around, but the engineers should know that it is indeed a 'work-around.'
Thanks again, Andy
- JotForm SupportEduardoMendezAnswered on January 24, 2013 at 11:27 AM
Thanks for pointing this out!
I will forward this issue to our dev team.
They will get in touch with you as soon as there is an update on the issue.
- JotForm SupportNeilVicenteAnswered on January 25, 2013 at 01:52 PM
I have implemented a fix to this bug just now. Can you please check if all is well on your end?