• Hi,
    so I’m creating a verify age page for my website, there are two buttons, “I’m 21 or older” and “I’m under 21”.
    The “I’m 21 or older” redirects you to the about page of my website,
    and the “I’m under 21” just temporarily redirects to google.

    So what I’m trying to do, is when someone goes to this age verification page, they can click a checkbox that says remember me, and it will remember their selection of “I’m 21 or older” or “I’m under 21”.

    This is the code I’m using:

    <link rel="stylesheet" type="text/css" href="https://realmccoyspirits.com/wp-content/themes/twentytwelve/background.css">
    <?php
    /*
    Template Name: ageverifytest
    */
    ?>
    <html>
    <head>
    <title>Verify Your Age</title>
    </head>
    <div style="float:right; margin:400px 300px 105px 105px; cursor:pointer; cursor:hand; border:0" alt="" >
    <font face="Futura" color="black" size="5">
    <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SUPERIOR<br>TASTE & QUALITY<br>COME WITH AGE.<br></font><font face="Futura" color="black" size="3">&nbsp;&nbsp&nbsp;&nbsp;&nbsp;&nbspARE YOU OF AGE?</p>
    </font>
    <font face="Futura" color="black">
    <form method="GET" action="/about">
                        <input style="float:left;" type="submit" name="valid_age" value="I'm 21 or older" />
    </form><form method="GET" action="https://google.com">
                        <input style="float:left;" type="submit" name="invalid_age" value="I'm under 21" />
    </form>
    </link>
    </font>

    Any help would be great, thanks!

    -Finn

  • The topic ‘Remember Me Checkbox’ is closed to new replies.