commented on page_tag
I’m trying to load a survey based on a person’s sign up tag. If the ‘sign-up’ has a tag, load new survey. One survey would be loaded if the person ‘does not contain a tag’, from the new survey.

I can loop through ‘all’ sign-up tags for the user and store them in an array. But I can’t seem to target or test, for the new tag or missing tag. I tried using an if/ if else condition, but it seems to only work for the first one.
//new tags.
{% assign the_tags = "ID_PE,FO_PE,NV_PE” | split:",”}
{% assign tags_list = " }

//loop through signup tags. 
//assign to tags_list.
  {% for tags in request.current_signup.tags }  
                {% assign tags_list = tags | append: "," | append: tags_list }
//print tags.
        {{ tags }}<br>
  {% endfor }


// if tags_list is not = to tag, load survey.
{% if tags_list != "ID_PE” }

//new survey to load.                      
load ID_PE survey

// if does have tag, move to next.        
{% elsif tags_list != "NV_PE” }
load NV_PE survey
 {% elsif tags_list != "FO_PE” }

load FO_PE survey

{% endif }

Anyone have an idea, on what’s going on? Any help would be GREAT!
posted 2016-01-12 07:38:57 -0800
commented on simplecart.js eCommerce Integration
#Ben Morrison
“A slight modification to the script would send all relevant data to Nationbuilder for user tagging etc. That is relatively easy due to the jQuery integration of Nationbuilder and the Nationbuilder API. "

- This has been the hardest part for me developing on NB. Is there anyway I can sample your code or can you direct me to a place of reference?

I been trying to build custom forms that that users with what the selection is.
i am a:
Republican, Democrat, Do Not Identify

if the user selects Republican, I would like NB to tag that person as so. There is going to be multiple selection areas on the form, so just making a page with a built-in form isn’t going to work (i don’t think).

Any feed back would be AWESOME!!!!
posted 2014-09-30 15:13:54 -0700
commented on Landing page for FB and Twitter log-ins?
add a page id to the url
 {{ request.facebook_connect_url }}&page_id=30 
posted 2015-02-26 15:17:24 -0800
commented on Making the blog post's image show in the blog summary

see if this link works for you, good luck!
posted 2015-07-30 17:57:43 -0700
commented on Building a custom form with multiple tagging sections
I was thinking php
posted 2014-10-02 14:34:21 -0700