Before we start going over your code I would like to ask that you be very careful when you post information to the forum. The forum is a public site and as such all data is seen by everyone. The XML has a lot of data in it and you had posted someone's information with the XML. I replaced all the PII fields with ****** so we can protect the person's identity.
Now let us review your code.
We reviewed this page: https://cmtysolutions.org/donate
In reviewing your code I see the following:
Line 69 - 78
<h3>What would you like your donation to support?</h3>
</header>
<div class="form-item" id="donation-fund">
<select class="form-select" name="ItemName1" id="ItemName1" required>
<option value="General Operating">General Operating Support</option>
<option value="100,000 Homes Campaign">100,000 Homes Campaign</option>
<option value="Brownsville Partnership">Brownsville Partnership</option>
<option value="Hartford Partnership">Hartford Partnership</option>
<option value="Inspiring Places">Inspiring Places</option>
</select>
The ItemName1 refers to the name of the item that is being posted for processing and in Salesforce it will become the Opportunity name. The name of the item that is in the basket is NOT a custom question. Custom questions are question / answer pairs per the following in the manual: http://manual.clickandpledge.com/For...ustom_Question
It seems like you are trying to map the name of the item (Opportunity name) to a custom question which can't be since they are totally different fields.
For what you are trying to do you may want to give the ItemName a generic name such as Donation which then becomes the name of your opportunity and then set up a Question / Answer pair to post the questions. See the example: https://www.clickandpledge.com/Platf...s/example/001/ -- review the code lines: 638- 639
<input name="FieldName1" type="hidden" maxlength="20" size="40" value="Employer"/>
<input name="FieldValue1" type="text" maxlength="500" size="20" />
Please let me know if the above answers your question.
Leave a comment: