Gossamer Forum
Home : Products : Gossamer Links : Discussions :

How to change include_form.html through ADD.CGI?parameter=21

Quote Reply
How to change include_form.html through ADD.CGI?parameter=21
Hi,

How does one make the "include_form.html" look different depending on the parameter passed through by ADD.CGI?parameter=...

Thanks.

A novice.
Quote Reply
Re: [server0000] How to change include_form.html through ADD.CGI?parameter=21 In reply to
Hi,

Assuming you do something like;

add.cgi?custom_option=testing

..then you could use something like this in include_form.html;

Code:
<%if custom_option eq "testing"%>
...show this form here
<%else%>
show normal form
<%endif%>

Hope that helps.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] How to change include_form.html through ADD.CGI?parameter=21 In reply to
Many thanks, Andy. It works great!