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


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Andy] How to change include_form.html through ADD.CGI?parameter=21 In reply to
Many thanks, Andy. It works great!