Announcement

Collapse
No announcement yet.

Form element "id=Campaign" works in one form but not another

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • CarolinaTigerRescue
    replied
    it does, in fact I suspected that might be the answer

    Leave a comment:


  • CnP.Support
    replied
    Good day!

    See the following lines: 281-289

    <td><p style="text-align:right"><input type="radio" name="UnitPrice1" id="UnitPrice1" value="25" CHECKED /></p>
    </td>
    <td valign="bottom" colspan="3"><p style="padding-left: 0em">$25 Valentine Donation</p></td>


    </tr>
    <tr>
    <td><p style="text-align:right"><input type="radio" name="UnitPrice1" id="UnitPrice1" value="Other" /></p>
    </td>
    <td valign="bottom" colspan="3"><input name="Other1" type="text" id="Other1" size="6" /> <i>(Gift amount greater than $25)</i></td>

    and line 686-690

    <input name="ItemID1" type="hidden" id="ItemID1" value="1" />
    <input name="ItemName1" type="hidden" id="ItemName1" value="Donation in Honor" />
    <input name="Quantity1" type="hidden" id="Quantity1" value="1" />
    <input name="UnitDeductible1" type="hidden" id="UnitDeductible1" value="0%" />
    <input name="NameOnCard" type="text" id="NameOnCard" value="" size="30" />

    as you see you have a suffix of 1 at the end of your UnitPrice and ItemName so the family is suffixed with 1. Naturally if the family is name with 1 as the suffix then all members have to have the same naming convention.

    Using this method you can have a number of items and simply change the suffix and new campaigns and depending on what is used.

    Hope that makes sense.

    Leave a comment:


  • CarolinaTigerRescue
    replied
    Sure: https://savannastation.carolinatiger...hp?trk=Website

    Leave a comment:


  • CnP.Support
    replied
    Good day!

    May I have the link to the new form?

    Leave a comment:


  • Form element "id=Campaign" works in one form but not another

    I recently created a specific donation form, and I copied the code from my existing, working donation form.

    But the donations that came in from my new page were not getting applied to the correct campaign.
    The C&P transaction XML data showed no value for Campaign
    The Verify.FaaS... return screen showed no value for Campaign. I noticed that the field name in the verify return screen referred to "Campaign1"

    I corrected this in the form, and the Campaign value went through fine.

    But I've used just an id of Campaign in several other forms, that work properly.

    Is there some situation where the number reference is mandatory?
Working...
X