SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot litmania_com's Avatar
    Join Date
    Feb 2001
    Location
    London
    Posts
    186
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Small ammendment to a sign-up form please :)

    The sign-up form for our ezine created automatically by our mailing list programme gives the person an option to pick Text/HTML version. We wish to only have a HTML edition.

    Here's the code:

    Code:
    Format: <select name=format><option value=0>Text</option><option value=1>HTML</option></select>
    How can we set the default to value=1 and not give the person an option?

    Do we add the value to the action command i.e.:

    Code:
    <form action="http://www.litmania.com/maxemail/join.php">
    ?

    Thank you very much for your help
    Nadeem Azam
    Litmania.com Inc.

    Free promotion - check out this 1:1 banner exchange
    Dot com domains - the world's most prestigious domain names for sale

  2. #2
    Serial Publisher silver trophy aspen's Avatar
    Join Date
    Aug 1999
    Location
    East Lansing, MI USA
    Posts
    12,937
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    get rid of that option on your website, then insert this into the form.

    <input type = "hidden" value = "1" name = "format">
    Chris Beasley - I publish content and ecommerce sites.
    Featured Article: Free Comprehensive SEO Guide
    My Guide to Building a Successful Website
    My Blog|My Webmaster Forums

  3. #3
    SitePoint Zealot litmania_com's Avatar
    Join Date
    Feb 2001
    Location
    London
    Posts
    186
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Works a treat. Thanx for the quick response
    Nadeem Azam
    Litmania.com Inc.

    Free promotion - check out this 1:1 banner exchange
    Dot com domains - the world's most prestigious domain names for sale


Bookmarks

Posting Permissions

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