Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Forms!

  1. #1
    Join Date
    Jun 2007
    Location
    Kent
    Posts
    4,101
    Tokens
    981

    Latest Awards:

    Default Forms!

    OK, im starting on IzCool main site now. I want to start on the things which i hate doing. And first its the forms. Im crap at forms, so can someone put it into a code. I need 2 forms, 1 for subdomains, the other for a general form.

    SubDomain Form:

    Name:
    [TEXT]
    Email Address: [TEXT]
    Desired SubDomain: [PERSON CAN WRITE HERE].izcool.com
    [< NO-ONE CAN
    OVERWRITE IZCOOL.COM]
    Why you want the SubDomain: [TEXT]
    What to write in subdomain: [TEXT]
    What image to put in subdomain: [BROWSE]

    General Form:

    Name:
    Email Address:
    Category: >General Site
    >General Forum
    >Errors & Problems
    >Advertisements
    >Job Applications
    Information: [TEXT BOX]

    SUBMIT!

    It lead to a email address, 1st form: [email protected]
    2nd form: [email protected]

    +Rep, may also give out month VIP if it works.
    Want it custom, not from a site or whatever.

  2. #2
    Join Date
    Jun 2008
    Location
    Manchester
    Posts
    766
    Tokens
    0

    Default

    HTML Code:
    <form name="subdomain" action="subdomainprocess.php" method="post">
    Name: <input type="text" name="name" value="Enter your name here" onfocus="this.value=''"><br>
    Email address: <input type="text" name="email" value="Enter your email address here" onfocus="this.value=''"><br>
    Desired Subdomain: <input type="text" name="subdomain" value="Enter your desired subdomain here" onfocus="this.value=''">.izcool.com<br>
    Why you want the subdomain: <input type="text" name="why" value="Enter why you want the subdomain here" onfocus="this.value=''"><br>
    What to write in subdomain:<br><textarea name="content"></textarea><br>
    What image to put in subdomain: <input type="text" name="image" value="Enter the url of the image here" onfocus="this.value=''"><br>
    <input name="submit" type="submit" value="Submit">
    </form>
    HTML Code:
    <form name="general" action="generalprocess.php" method="post">
    Name: <input type="text" name="name" value="Enter your name here" onfocus="this.value=''"><br>
    Email Address: <input type="text" name="email" value="Enter your email address here" onfocus="this.value=''"><br>
    Category: <select name="category">
    <option value="generalsite">General Site</option>
    <option value="generalforum">General Forum</option>
    <option value="errors">Errors & Problems</option>
    <option value="ads">Advertisements</option>
    <option value="jobs">Job Applications</option>
    </select><br>
    Information:<br><textarea name="info"></textarea>
    <input type="submit" name="submit" value="Submit">
    </form>
    That's the html, you just need the php now. I would suggest inserting it into a mySQL database rather than sending it by email, but it's up to you.

    EDIT: Jack's reply is better than mine.
    Last edited by Jxhn; 16-11-2008 at 01:56 PM.

  3. #3
    Join Date
    Sep 2005
    Location
    East London
    Posts
    3,028
    Tokens
    0

    Latest Awards:

    Default

    First form
    Demo : http://imhabbo.com/test.php
    Not amazing coding but i just did a quick chuckup.

    2nd form



    Demo : http://imhabbo.com/test2.php
    Not amazing coding but i just did a quick chuckup.

    All works, if you wanna pay me back i would prefer paypal or w/e but i dm

    email is [email protected]

    ENJOY
    Last edited by Jackboy; 16-11-2008 at 01:56 PM.

  4. #4
    Join Date
    Sep 2008
    Posts
    718
    Tokens
    0

    Default

    Quote Originally Posted by Jxhn View Post
    HTML Code:
    <form name="subdomain" action="subdomainprocess.php" method="post">
    Name: <input type="text" name="name" value="Enter your name here" onfocus="this.value=''"><br>
    Email address: <input type="text" name="email" value="Enter your email address here" onfocus="this.value=''"><br>
    Desired Subdomain: <input type="text" name="subdomain" value="Enter your desired subdomain here" onfocus="this.value=''"><br>
    Why you want the subdomain: <input type="text" name="why" value="Enter why you want the subdomain here" onfocus="this.value=''"><br>
    What to write in subdomain:<br><textarea name="content"></textarea><br>
    What image to put in subdomain: <input type="text" name="image" value="Enter the url of the image here" onfocus="this.value=''"><br>
    <input name="submit" type="submit" value="Submit">
    </form>
    HTML Code:
    <form name="general" action="generalprocess.php" method="post">
    Name: <input type="text" name="name" value="Enter your name here" onfocus="this.value=''"><br>
    Email Address: <input type="text" name="email" value="Enter your email address here" onfocus="this.value=''"><br>
    Category: <select name="category">
    <option value="generalsite">General Site</option>
    <option value="generalforum">General Forum</option>
    <option value="errors">Errors & Problems</option>
    <option value="ads">Advertisements</option>
    <option value="jobs">Job Applications</option>
    </select><br>
    Information:<br><textarea name="info"></textarea>
    <input type="submit" name="submit" value="Submit">
    </form>
    That's the html, you just need the php now. I would suggest inserting it into a mySQL database rather than sending it by email, but it's up to you.
    If I'm not mistaken the php is rather easy?
    Something that displays the person's answers with like $variable or something? :S could be wrong though, not good at php
    +.net - omg it's coming o_o

  5. #5
    Join Date
    Jun 2007
    Location
    Kent
    Posts
    4,101
    Tokens
    981

    Latest Awards:

    Default

    Quote Originally Posted by Jxhn View Post
    HTML Code:
    <form name="subdomain" action="subdomainprocess.php" method="post">
    Name: <input type="text" name="name" value="Enter your name here" onfocus="this.value=''"><br>
    Email address: <input type="text" name="email" value="Enter your email address here" onfocus="this.value=''"><br>
    Desired Subdomain: <input type="text" name="subdomain" value="Enter your desired subdomain here" onfocus="this.value=''">.izcool.com<br>
    Why you want the subdomain: <input type="text" name="why" value="Enter why you want the subdomain here" onfocus="this.value=''"><br>
    What to write in subdomain:<br><textarea name="content"></textarea><br>
    What image to put in subdomain: <input type="text" name="image" value="Enter the url of the image here" onfocus="this.value=''"><br>
    <input name="submit" type="submit" value="Submit">
    </form>
    HTML Code:
    <form name="general" action="generalprocess.php" method="post">
    Name: <input type="text" name="name" value="Enter your name here" onfocus="this.value=''"><br>
    Email Address: <input type="text" name="email" value="Enter your email address here" onfocus="this.value=''"><br>
    Category: <select name="category">
    <option value="generalsite">General Site</option>
    <option value="generalforum">General Forum</option>
    <option value="errors">Errors & Problems</option>
    <option value="ads">Advertisements</option>
    <option value="jobs">Job Applications</option>
    </select><br>
    Information:<br><textarea name="info"></textarea>
    <input type="submit" name="submit" value="Submit">
    </form>
    That's the html, you just need the php now. I would suggest inserting it into a mySQL database rather than sending it by email, but it's up to you.

    EDIT: Jack's reply is better than mine.
    Quote Originally Posted by Jackboy View Post
    First form
    Demo : http://imhabbo.com/test.php
    Not amazing coding but i just did a quick chuckup.

    2nd form



    Demo : http://imhabbo.com/test2.php
    Not amazing coding but i just did a quick chuckup.

    All works, if you wanna pay me back i would prefer paypal or w/e but i dm

    email is [email protected]

    ENJOY

    Jhxn, forgot to say that i wanted it in PHP.
    Jack, im saving up on my PayPal.
    If you want VIP, just reply back...

    +Rep to both if i can.
    I use your's Jack!

  6. #6
    Join Date
    Sep 2005
    Location
    East London
    Posts
    3,028
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by RyanDOT View Post
    Jhxn, forgot to say that i wanted it in PHP.
    Jack, im saving up on my PayPal.
    If you want VIP, just reply back...

    +Rep to both if i can.
    I use your's Jack!
    Yeh vip will be boss, if you're buying VIP then black pls

  7. #7
    Join Date
    Jun 2007
    Location
    Kent
    Posts
    4,101
    Tokens
    981

    Latest Awards:

    Default

    Quote Originally Posted by Jackboy View Post
    Yeh vip will be boss, if you're buying VIP then black pls
    I got back-up VIP, so i tell brandon to move a month's VIP to you if possible...
    If not, i most probs pay via PP.

  8. #8
    Join Date
    Sep 2005
    Location
    East London
    Posts
    3,028
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by RyanDOT View Post
    I got back-up VIP, so i tell brandon to move a month's VIP to you if possible...
    If not, i most probs pay via PP.
    Okay thanks, if you're gonna pay with paypal can you send me cash that you would've spent instead so i can buy CHF vip pls thanks

  9. #9
    Join Date
    Oct 2006
    Location
    West Midlands
    Posts
    463
    Tokens
    1,935

    Latest Awards:

    Default

    Quote Originally Posted by Jackboy View Post
    First form
    Demo : http://imhabbo.com/test.php
    Not amazing coding but i just did a quick chuckup.

    2nd form



    Demo : http://imhabbo.com/test2.php
    Not amazing coding but i just did a quick chuckup.

    All works, if you wanna pay me back i would prefer paypal or w/e but i dm

    email is [email protected]

    ENJOY
    Why pay when you could get one from some where for free? I've saw forms on here before, Just search contact us form, and change it.
    Always lurking around, never really post.

  10. #10
    Join Date
    Jun 2007
    Location
    Kent
    Posts
    4,101
    Tokens
    981

    Latest Awards:

    Default

    Quote Originally Posted by Nli. View Post
    Why pay when you could get one from some where for free? I've saw forms on here before, Just search contact us form, and change it.
    Im paying little. If i can give him VIP, cos i got spare VIP which i don't want no-more...

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •