Removing multiple U2 tags from a form?
This question isn't about deleting a U2 tag so much as rendering them useless. I know how to comment out and/or display:none, etc.
We run a campaign where members and non-members can vote on next year's calendar cover image. A co-worker set it up so that from a landing page the user would click, be taken to a donation form populated with the image they just clicked, and along with that would come a U2 tag specific to adding that user to a group. Problem is, the images and U2 tags are coded in on the form and essentially commented out, so each user is being added to all groups U2'd on the form. That's not what we intended.
Increasingly long story short, is there a way I can "show" the image/U2 only if a particular image was clicked on the landing page? I imagine so, but not savvy enough to figure it, I guess.
Here's the form in question from last year: http://support.bestfriends.org/site/Donation2?2974.donation=form1&df_id=2974&mfc_pref=T
Thanks in advance!!
J.D.
We run a campaign where members and non-members can vote on next year's calendar cover image. A co-worker set it up so that from a landing page the user would click, be taken to a donation form populated with the image they just clicked, and along with that would come a U2 tag specific to adding that user to a group. Problem is, the images and U2 tags are coded in on the form and essentially commented out, so each user is being added to all groups U2'd on the form. That's not what we intended.
Increasingly long story short, is there a way I can "show" the image/U2 only if a particular image was clicked on the landing page? I imagine so, but not savvy enough to figure it, I guess.
Here's the form in question from last year: http://support.bestfriends.org/site/Donation2?2974.donation=form1&df_id=2974&mfc_pref=T
Thanks in advance!!
J.D.
Tagged:
0
Comments
-
I have some ideas.
How is the selection passed to the form? In the Querystring?
Can you provide the html with s-tags for that dynamic content section with the image and U2 tags?
BPM
EDIT:
So there are 3 U2 tags, which the dev tried to control by html comments. Those don't affect server tags, of course.
U2 works like this: [[U2:groupID]]
The first thing I would try is to have a single image and U2 tag and set it's value. So say we're passing the group id in the URL via query string like "group_id=12345". Name the images as "image_12345.jpg" and you can do something like this...<img src="../images/image_[[S334:group_id]].jpg" /><br /><br/>[[U2:[[S334:group_id]]]]
I'm not sure if U2 allows the value to be dynamic like that.
If not, then I would make three reusable pages(reus_12345_groupPage) each with a different U2 and image. Then load one of the three reusables dynamically. This way only one U2 tag appears.[[E51:reus_[[S334:group_id]]_groupPage]]
This approach is basically what you have, but rather than commenting out sections you just stick each one in a reuable, and pick one of the set to load.
BPM0 -
I like where your head's at, Brian. I'll give this a shot.
Thanks!0 -
Well, shucks. I got the U2 tag to load properly, but now the images are not loading. Open to any ideas you may have.
(PS - Not a developer, so very possibly doing something incorrectly in the coding.)
Thanks for whatever tips you may have.0
Categories
- All Categories
- 6 Blackbaud Community Help
- 210 bbcon®
- 1.4K Blackbaud Altru®
- 395 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1.1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 15 donorCentrics®
- 360 Blackbaud eTapestry®
- 2.5K Blackbaud Financial Edge NXT®
- 649 Blackbaud Grantmaking™
- 567 Blackbaud Education Management Solutions for Higher Education
- 3.2K Blackbaud Education Management Solutions for K-12 Schools
- 937 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 84 JustGiving® from Blackbaud®
- 6.5K Blackbaud Raiser's Edge NXT®
- 3.7K SKY Developer
- 247 ResearchPoint™
- 119 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 239 The Tap (Just for Fun)
- 33 Blackbaud Community Challenges
- 31 PowerUp Challenges
- 3 (Open) PowerUp Challenge: Data Health
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Product Update Briefing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports+
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Email Marketing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Gift Management
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Event Management
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Home Page
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Query
- 784 Community News
- 2.9K Jobs Board
- 53 Blackbaud SKY® Reporting Announcements
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)
