HighDots Forums  

Making form objects unusable

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Making form objects unusable in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
thxmacromeida
 
Posts: n/a

Default Making form objects unusable - 06-10-2004 , 06:32 PM






I am trying to get a few of my select boxes unusable. Is this possible? So if a user tries to click it, it doesnt do anything? Thanks

Reply With Quote
  #2  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Making form objects unusable - 06-10-2004 , 06:35 PM






<input type="text" name="foo" readonly="readonly">

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"thxmacromeida" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
I am trying to get a few of my select boxes unusable. Is this possible? So
if a user tries to click it, it doesnt do anything? Thanks




Reply With Quote
  #3  
Old   
thxmacromeida
 
Posts: n/a

Default Re: Making form objects unusable - 06-10-2004 , 06:49 PM



I have another question. The forms, i have placed them into my site. In DW they
look how i want them to, but when i look at it on my server, they look as
though they have breaks in them. Any ideas on how i could be rid the "breaks".
My code:
<tr>
<td width="18%" height="20" class="searchbg"><strong>
Class:</strong></td>
<td class="searchbg">
<form name="form1" method="post" action="">
<select name="select">
<option selected>Priest</option>
</select>
</form></td>
</tr>
<tr>
<td class="searchbg"><strong>Race:</strong></td>
<td class="searchbg">
<form name="form1" method="post" action=""><select name="select2">
<option selected>Barbarian</option>
</select></form></td>
</tr>
<tr>
<td class="searchbg"><strong>Slot: </strong></td>
<td class="searchbg">
<form name="form1" method="post" action=""><select name="select3">
<option>Head</option>
<option>Waist</option>
<option selected>Chest</option>
</select></form></td>
</tr>
<tr>
<td class="searchbg"><strong>Zone: </strong></td>
<td class="searchbg">
<form name="form1" method="post" action=""><select name="select4">
<option selected>Freeport</option>
</select></form></td>
</tr>
<tr>
<td class="searchbg"><strong> Item Name: </strong></td>
<td class="searchbg">
<form name="form1" method="post" action=""><input type="text"
name="user_input"> <input type="submit" name="Submit"
value="Search"></form></td>
</tr>


Reply With Quote
  #4  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Making form objects unusable - 06-10-2004 , 06:49 PM



Use CSS to control your margins....

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"thxmacromeida" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
I have another question. The forms, i have placed them into my site. In DW
they
look how i want them to, but when i look at it on my server, they look as
though they have breaks in them. Any ideas on how i could be rid the
"breaks".
My code:
tr
td width="18%" height="20" class="searchbg"><strong
Class:</strong></td
td class="searchbg"
form name="form1" method="post" action=""
select name="select"
option selected>Priest</option
/select
/form></td
/tr
tr
td class="searchbg"><strong>Race:</strong></td
td class="searchbg"
form name="form1" method="post" action=""><select name="select2"
option selected>Barbarian</option
/select></form></td
/tr
tr
td class="searchbg"><strong>Slot: </strong></td
td class="searchbg"
form name="form1" method="post" action=""><select name="select3"
option>Head</option
option>Waist</option
option selected>Chest</option
/select></form></td
/tr
tr
td class="searchbg"><strong>Zone: </strong></td
td class="searchbg"
form name="form1" method="post" action=""><select name="select4"
option selected>Freeport</option
/select></form></td
/tr
tr
td class="searchbg"><strong> Item Name: </strong></td
td class="searchbg"
form name="form1" method="post" action=""><input type="text"
name="user_input"> <input type="submit" name="Submit"
value="Search"></form></td
/tr




Reply With Quote
  #5  
Old   
thxmacromeida
 
Posts: n/a

Default Re: Making form objects unusable - 06-10-2004 , 07:15 PM



Im sorry, but margins for? Are you talking about the space below the select boxes?

Reply With Quote
  #6  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Making form objects unusable - 06-10-2004 , 08:38 PM



The margins around the form tags, and form element tags. Each has one, and
if you control them you are halfway home.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"thxmacromeida" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Im sorry, but margins for? Are you talking about the space below the
select boxes?




Reply With Quote
  #7  
Old   
thxmacromeida
 
Posts: n/a

Default Re: Making form objects unusable - 06-10-2004 , 10:09 PM



Do you think you could help me out on what to put? Thanks

Reply With Quote
  #8  
Old   
Michael Fesser
 
Posts: n/a

Default Re: Making form objects unusable - 06-10-2004 , 10:25 PM



.oO(thxmacromeida)

Quote:
Do you think you could help me out on what to put? Thanks
form, input {margin: 0}

should be a starting point ...

Micha


Reply With Quote
  #9  
Old   
Alan
 
Posts: n/a

Default Re: Making form objects unusable - 06-11-2004 , 09:24 AM



You have a severe problem with THAT form.

EACH form element is in it's own pair of <form></form> tags, and it will not
work as you think...

<form name="form1" method="post" action=""><input type="text"
name="user_input"> <input type="submit" name="Submit"
value="Search"></form>

Or- maybe this is what you want?
A select list like this:
<form name="form1" method="post" action=""><select name="select3">
<option>Head</option>
<option>Waist</option>
<option selected>Chest</option>
</select></form>
simply WON'T ~do~ anything.

URL to the full page?

If this is the only form on the page, the quick way to fix without knowing
the rest of the coding is to put the opening form tag after the <body> tag,
and the closing </form> before the </body> tag.


Reply With Quote
  #10  
Old   
Joe Makowiec
 
Posts: n/a

Default Re: Making form objects unusable - 06-11-2004 , 09:27 AM



On 11 Jun 2004 in macromedia.dreamweaver, Alan wrote:

Quote:
EACH form element is in it's own pair of <form></form> tags, and it
will not work as you think...
Not only that, but they're all named 'form1'.

--
Joe Makowiec can be reached at:
http://makowiec.org/contact/?Joe


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.