how to add placeholder to this form code?

by ronr
4 replies
Can anyone help. I need to the placeholder "email" in the input box for this form code.

Thanks, Ron

<div id='subscription_form_xxxxx'>
<form method='post' action='http://www.domain.net/auto/a.php/sub/19/xxxx'>
<div>

<input type='text' id='email_address' name='email_address' value=''>
<input type='submit' value='Get Coupon'></div>
</form>
</div>
#add #code #form #placeholder
  • Profile picture of the author Himanshu1988
    Code:
    <form action="demo_form.asp">
    <input type="text" name="fname" placeholder="First name"><br>
    <input type="text" name="lname" placeholder="Last name"><br>
    <input type="submit" value="Submit">
    </form>
    For more information check w3schools hear.

    -Himanshu

    PS: A quick google would have revealed the solution.

    Originally Posted by ronr View Post

    Can anyone help. I need to the placeholder "email" in the input box for this form code.

    Thanks, Ron

    <div id='subscription_form_xxxxx'>
    <form method='post' action='http://www.domain.net/auto/a.php/sub/19/xxxx'>
    <div>

    <input type='text' id='email_address' name='email_address' value=''>
    <input type='submit' value='Get Coupon'></div>
    </form>
    </div>
    Signature

    Web Design | SEO | WordPress | Mobile App @ ZOTO Solutions

    {{ DiscussionBoard.errors[9940544].message }}
    • Profile picture of the author ronr
      I did a google search and found those very same instruction but for some reason I couldn't get it to work on the form. I'm not a programmer. That's why I asked her how to make it work with this specific form.
      {{ DiscussionBoard.errors[9941132].message }}
      • Profile picture of the author Himanshu1988
        Ohh I was not aware about that Ron.

        If you can provide me with the link where you need that placeholder then I can help you with exact code that you need to copy / past in a particular file. (You can PM me the link)

        Alternatively you need to add placeholder="First name" in the input field. It's very simple & easy but may be a daunting task if you are not a programmer.

        -Himanshu

        Originally Posted by ronr View Post

        I did a google search and found those very same instruction but for some reason I couldn't get it to work on the form. I'm not a programmer. That's why I asked her how to make it work with this specific form.
        Signature

        Web Design | SEO | WordPress | Mobile App @ ZOTO Solutions

        {{ DiscussionBoard.errors[9941280].message }}
  • Profile picture of the author tinalog
    Banned
    [DELETED]
    {{ DiscussionBoard.errors[9943795].message }}
    • Profile picture of the author 4umNinja
      Originally Posted by tinalog View Post

      Get the help from LEARNSAUCE - which provides tutorials with source code for absolutely FREE.
      I think cause of the WWW. in your url, the link doesn't work .. Learnsauce looks sweet, tho it doesn't look tatally free!
      Signature
      “When you really want something, the whole universe conspires in helping you to achieve it.” ― Paulo Cohelo

      Check Out My Videos On YouTube
      {{ DiscussionBoard.errors[9966200].message }}

Trending Topics