Difference between revisions of "NATS4 Hidden Cascades"
TMMStephenY2 (talk | contribs) |
TMMStephenY2 (talk | contribs) |
||
Line 15: | Line 15: | ||
include it on a join form, you can use one of the following options: | include it on a join form, you can use one of the following options: | ||
− | [[ | + | [[File:Cascade_hidden_joinform.jpg|450 px|Figure 1 - Join Form - Using a Hidden Cascade]] |
− | [[ | + | [[File:Cascade_hidden_joinform_smarty.jpg|450 px|Figure 2 - Join Form - Built-in cascade method listing]] |
Figure 1 illustrates HTML code that puts the cascade short name in a HTML option. This contrasts with the standard template content found in Figure 2 -- normally, NATS | Figure 1 illustrates HTML code that puts the cascade short name in a HTML option. This contrasts with the standard template content found in Figure 2 -- normally, NATS |
Revision as of 10:35, 9 June 2010
The NATS4_Cascade settings include a checkbox labeled "hide cascade". This setting creates a cascade that is completely functional but not automatically used on any site's join forms. You can place a hidden cascade on your join form template by hard-coding the cascade option into a radio button or a join form submit button.
To access the option to hide a Cascade in the Billers Admin, click the Edit icon of the cascade that you want to hide.
Manually Adding a Cascade to a Join Form
After a cascade is hidden, it will no longer appear on any join forms. In order to include it on a join form, you can use one of the following options:
Figure 1 illustrates HTML code that puts the cascade short name in a HTML option. This contrasts with the standard template content found in Figure 2 -- normally, NATS dynamically loops through each cascade that is available for the given site and creates an HTML radio button control for each one.
If a cascade is hidden, it can never be displayed on a join form in this manner; the only way to display a hidden cascade as an option is to hard-code it, as seen in figure 2. You may also place the cascade value in a hidden form field, such that the surfer will not be required to select a payment method.