I have a page for users to key in their contact information but I also have some hidden user input boxes that I would like to have automatically fill in using stored values. I need the values to be submitted to the database with the contact information. So far all I have been able to figure out is how to set the placeholder. When I submit the form the placeholder data does not go into the database though.
Here is what I currently have for the placeholders:
$w('#input10').placeholder = pmtdata.itemName;
$w('#input11').placeholder = pmtdata.amount;
For the screenshot I unhid the two fields. As you can see they say EVENT TICKET and 125. BUT that text is not keyed into the fields. I need it keyed into the fields so that it goes into the database with the rest of the data.