Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
Jamie9470 #1
change the default color of fields in a form
Hi..
This forum's great...
I'm a very new user to dW, I work mostly in design mode but can edit a bit of
code, not much.
I created a form thru my web hosting administrator, copied the raw text to DW
and tweaked it a bit from there. Works great. I just want to edit the fields to
be something other than yucky default yellow.
Is this something I can manipulate through DW?
My code is attached below; please accept my apologies in advance if it's
sloppy, as I said I'm new...
***************************
<form action="thanks.html"
method="post"
enctype="application/x-www-form-urlencoded" name="bwccontact"
id="bwccontact">
<table>
<tr>
<th width="176" align="right">
Name: </th>
<td colspan="3">
<input type="text" name="Name" size="30" /> </td>
</tr>
<tr>
<th align="right">
Street Address: </th>
<td colspan="3">
<input type="text" name="Street_Address" size="30" /> </td>
</tr>
<tr>
<th align="right">
City: </th>
<td colspan="3">
<input type="text" name="City" size="30" /> </td>
</tr>
<tr>
<th align="right">
State: </th>
<td width="25">
<input name="State" type="text" size="4" maxlength="2" /> </td>
<td width="83"> </td>
<td width="83"> </td>
</tr>
<tr>
<th align="right">
Zip: </th>
<td colspan="3">
<input name="Zip" type="text" size="12" maxlength="10" /> </td>
</tr>
<tr>
<th align="right">
Phone: </th>
<td colspan="3">
<input name="Phone" type="text" value="(xxx) xxx-xxxx" size="30" />
</td>
</tr>
<tr>
<th align="right">
Email: </th>
<td colspan="3">
<input name="Email" type="text" size="30" maxlength="35" /> </td>
</tr>
<tr>
<th height="40" align="right" valign="top">
Questions or Comments: </th>
<td colspan="3">
<textarea name="Questions_or_Comments" cols="40" rows="5">Please input
any questions or comments you may have. 150 character maximum,
please.</textarea> </td>
</tr>
<tr>
<th align="right"> Preferred Contact Method: </th>
<td colspan="3"><input type="radio" name="Preferred_Contact_Method"
value="Phone" checked="checked" class="checkbox" />
Phone
<input type="radio" name="Preferred_Contact_Method" value="Email"
class="checkbox" />
Email </td>
</tr>
<tr>
<th align="right">
Best Time to Reach You: </th>
<td colspan="3">
<input name="Best_Time_to_Reach_You" type="text" value="daytime or
evening?" size="30" /> </td>
</tr>
<tr>
<th></th>
<td colspan="3"><input type="submit" name="Form_Submit" value="Submit
Form" />
<input name="Form_Reset" type="reset" value="Reset Form" /></td>
</tr>
<tr>
<th></th>
<td colspan="3"> </td>
</tr>
</table>
<input type="hidden" name="_vDeckformid" value="567" />
</form>
Jamie9470 Guest
-
How can I set the default font for fields in Forms Wizard?
I know that I can right click on a form field, and set the format for future fields based on that field's appearance, but when I run the Forms Wizard... -
user inputs form color change
I have a form that has a row of fields. I need the user to be able to choose different colors in those fields and then submit the form. The reciever... -
Radio Button to change Form Fields
I am looking for code to do the following: I have a Radio Button Called MonthQuarter. With Quarter checked by default. I also have a form... -
Adding fields to default header
I'm trying to consume a Java-based web service, and the RPC style requires a message that looks like this: <?xml version="1.0"... -
How to change the color of the modified fields in a Datagrid?
I have a situation where in a user would like to see all the modified fields font red in color when a record has been updated in a Datagrid. ... -
jeremyluby #2
Re: change the default color of fields in a form
You can solve this using CSS:
<style type="text/css">
<!--
input {
background-color: #00FF99;
}
-->
</style>
You can either link to an external CSS file put this code in it, or paste this
code within the <head> tag.
Change the color to whatever you want also
jeremyluby Guest
-
The Challenger #3
Re: change the default color of fields in a form
You can apply most of CSS properties to form elements, including text and
background color changes within a text field or text area, for example.
However, this needs help of script and event handling.
You may define the color of a text box, checkboxes and radio buttons as well
as menu list items and much more. I suggest to define styles in external files
since you can use it as "dll" (dynamic link library).
The Challenger Guest
-
Jamie9470 #4
Re: change the default color of fields in a form
My profuse apologies for the late reply! I just wanted to say thanks jeremyluby and challenger for your help.
Jamie9470 Guest



Reply With Quote

