- cryptomainAsked on March 07, 2014 at 05:05 AM
i have made a new form simply to test if the prepopulation works. It populates the fields but when I submit the form all of the fields are blank. Is there any particular method i should use?
- JotForm SupportjonathanAnswered on March 07, 2014 at 07:37 AM
Can you share to us the actual URL of of the website page/form where we can test this.
We need to see the details how you manage to pre-populate this form http://www.jotform.com/40651796404356 using your custom code.
- cryptomainAnswered on March 08, 2014 at 08:22 AM
URL for the form is here: http://ievaa.com/form
- JotForm SupportjonathanAnswered on March 08, 2014 at 08:36 AM
I was able to see the form and the custom jquery code you have.
Can you please provide us more details on exactly what you wanted to achieve though.
Currently, I am not able to understand what you wanted to pre-popluate on the form.
From what I understand so far, you succeeded in putting a default Price on the price field and make and then make it a read-only field.
But the rest of the functionality, I am not able to figured out yet. There is an internal calculation that is happening every time I fill in the Total Price, but it is not clear what it does.
We could provide appropriate suggestion if you can break down by steps what it is you wanted to formulate/calculate.
- cryptomainAnswered on March 08, 2014 at 06:02 PM
Well what I would like to achieve is that afeter a user enters the amount and submits the form. All fields would be captured ant passed to the user and to my google spreadsheet. Because now when the form is submited the price and total price fields no info is passed to the spreadsheet and the fields come as blank .
Thank you for any assistance.
- JotForm SupportEltonCrisAnswered on March 08, 2014 at 06:41 PM
They are blank because the textbox fields has been changed to a "div" tag with text elements, this results to a blank submissions. Check this screenshot:
Here (see below), I have updated your script without omitting the textbox fields. I have included CSS styles to removed the textbox borders so it looks like a text element.
Hope this helps!