Ninja Form=10 is used to create a Campaign for the current Cause (Kid or Project) and provides the usual fields for collecting information needed to create the Campaign or used by the theme to display the Campaign. This form also includes 2 hidden fields–the hidden field with key
causeid is populated by the plugin with the apparent cause of the Campaign and the hidden field with key
cause_url is populated by the plugin with the URL of that cause. Using the form field merge tag, the
cause_url field is used in the form redirect action to take the user back to the cause after creating the Campaign.
causeid is determined by having an explicit REQUEST parameter, ideally, or by looking at the referring URL. Using the referer is less than ideal. Using the plugin shortcode
cfr_new_campaign will create a href that includes the REQUEST parameter and a link to a page entitled Campaign. Note: This mechanism needs to be changed when switching to a non-English language since it searches for the page by title in English.
Use this form when creating a new Campaign for the current Cause.