Michael,

You can do it, but you'll need a behavior.  By default, all pages are 
cached and your page would not be able to respond to the GET 
parameters.  Another option would be to create child pages of your 
"Contact" page called "sales", "support", or whatever.  Then only the 
page that processes the submission of the form would need a behavior, 
and your contact pages wouldn't need to respond to GET params.

Cheers,
Sean Cribbs
seancribbs.com

Michael Roper wrote:
> Hi guys,
>
> It is possible to access GET parameters passed in the url of a Radiant page?
>
> For example, I'm making a contact page, and instead of making multiple
> enquiry forms (sales, support, general, etc), it would be good if i
> could pass a url like '/contact/?type=sales' and then programatically
> show different form fields depending on the type of enquiry...
>
> If this is more of a ruby/rails level thing rather than a radiant
> thing, can i still do it from my radiant page?
>
> Cheers,
>
> Michael
> _______________________________________________
> Radiant mailing list
> Post:   [email protected]
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>
>   

_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to