We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22829 ☆ A M B ☆
    • 80 Posts
    This is an auto-generated topic for getUrlParam 1.0-beta1 by paulmerchant.

    Brief Description:


    getUrlParam

    A simple snippet that will return a value passed through a URL parameter. The Parameter is sanitized and kept below a set size.

    Revolution makes it easy to pass URL parameters (i.e. [[[[~123? &p=`yes`]]]]). This snippet makes it simple to use that URL parameter.

    OPTIONS
    name - The parameter name, defaults to "p"
    int - (Opt) Set as true to only allow integer values
    max - (Opt) The maximum length of the returned value, defaults to 20
    default - (Opt) The value returned if no URL parameter is found

    Example: [[[[getUrlParam? &name=`pageid` &int=`1`]]]]
      Time is what keeps everything from happening all at once.