O'Reilly Forums: Chapter 14 Form - O'Reilly Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Chapter 14 Form

#1 User is offline   DMuehlhausen 

  • Active Member
  • PipPip
  • Group: Members
  • Posts: 15
  • Joined: 11-March 10

Posted 07 August 2010 - 01:38 PM

Ok so Name, State, City, Address all show up fine in the form. I can't get the Zip to show up though. I have the code in there from what I can see the exact same way as the other working input commands

<p>Ship to: <br />
Name: <input type="text" name="name" /> <br />
Address: <input type="text" name="address" /> <br />
City: <input type="text" name="city" /> <br />
State: <input type="text" name="state /> <br />
Zip: <input type="text" name="zip" /> <br />
</p>

Can anybody see what would be causing the problem? Again the rest of the form shows up just fine except for the zip.
0

#2 User is offline   lemuel 

  • Super Veteran Member
  • PipPipPipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 576
  • Joined: 13-April 09

Posted 07 August 2010 - 07:36 PM

I believe
name="state />

should be
name="state" />
0

#3 User is offline   jimibrooks 

  • New Member
  • Pip
  • Group: Members
  • Posts: 8
  • Joined: 25-August 11

Posted 23 September 2011 - 02:35 AM

Also in chapter 14, pg 599, My radio buttons show up, but the name does not appear next to the button as shown in the illustration. Something wrong with my code?

<input type="radio" name ="hotornot" value="HOT" />
<input type="radio" name ="hotornot" value="NOT" />
0

#4 User is offline   rameshcharykotha 

  • New Member
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 26-September 11

Posted 26 September 2011 - 11:18 PM

View Postjimibrooks, on 23 September 2011 - 02:35 AM, said:

Also in chapter 14, pg 599, My radio buttons show up, but the name does not appear next to the button as shown in the illustration. Something wrong with my code?

<input type="radio" name ="hotornot" value="HOT" />
<input type="radio" name ="hotornot" value="NOT" />

Hi,
you need to add the name infront of radio buttons.
HOT <input type="radio" name ="hotornot" value="HOT" />
NOT <input type="radio" name ="hotornot" value="NOT" />

Thanks,
Ramesh K
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users