Jump to content

Problem with Submit button


Go to solution Solved by Jacques1,

Recommended Posts

Hello,

 

I was trying to create a submit button on my squeeze page hosted by portalwebhosting.com. But I am having trouble creating the button. The squeeze page requests the user's first name and email address.

 

This is the code that I am using in my HTML form:

 

<p> Enter Your First Name

<input type=”text” name=”first_name”/></p>

 

<p>Your Best Email Address

<input type=”text” name=”email_address”/></p>

 

<input type=”submit” value=”Subscribe”>

 

But here are the results:button.png

 

What am I doing wrong here?

 

Thanks

Edited by cinque8
Link to comment
https://forums.phpfreaks.com/topic/304508-problem-with-submit-button/
Share on other sites

  • Solution

Looks like you're writing your code with a completely inappropriate tool (Microsoft Word?) which replaces straight quotes with typographic quotes:

" -> ”

HTML parsers have no idea what to do with those.

 

Use a proper code editor or an IDE.

Side note: remember to utilize the <label> tag. That way visitors using assistive technology, such as screen readers, have an easier time using your website.  :happy-04:

 

More information about the tag can be found here:

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.