This topic is locked

Save button wont work

6/3/2008 2:57:38 PM
PHPRunner General questions
S
swanside author

Hello all.
I have changed my background color using bgColor=black style="background-color: black; after <BODY
When I do this, The save button wont work anymore
Here is the code from the visual editor

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HTML><HEAD><TITLE>Helpdesk</TITLE>

<META http-equiv=Content-Type content="text/html; charset=windows-1252"><LINK

href="include/style.css" type=text/css rel=stylesheet>{$includes}

<META content="MSHTML 6.00.3790.72" name=GENERATOR></HEAD>

<BODY

style="BACKGROUND-COLOR: black; bodyonload:; bgColor: black include_if_exists:"

name="editform" method="post" action="job_edit.php" include {$onsubmit}

encType="multipart/form-data" <FORM header.php?}&nbsp;>

<H1>Helpdesk, Edit record [ Job No: {$show_key1}] </H1>{doevent name="EditOnLoad"}&nbsp;{$message}&nbsp;

<DIV align=left>

<HR width=300 noShade SIZE=1>

</DIV>&nbsp;&nbsp;&nbsp;<A href="job_list.php?a=return">Back to list</A><BR><BR>

<TABLE cellPadding=2><input type=hidden name=editid1 value="{$key1}">

<TBODY>

<TR>

<TD class=shade width=150>Contract</TD>

<TD width=250>{build_edit_control field="Contract" value=$value_Contract mode="edit"}&nbsp;</TD></TR>

<TR>

<TD class=shade width=150>Order Site Address</TD>

<TD width=250>{build_edit_control field="Order_Site_Address" value=$value_Order_Site_Address mode="edit"}&nbsp;</TD></TR>

<TR>

<TD class=shade width=150>Job Description</TD>

<TD width=250>{build_edit_control field="Job_Description" value=$value_Job_Description mode="edit"}&nbsp;</TD></TR>

<TR>

<TD class=shade width=150>Print</TD>

<TD width=250>{build_edit_control field="Invoice_Printed" value=$value_Invoice_Printed mode="edit"}&nbsp;</TD></TR>

<TR>

<TD class=shade width=150>Invoice Printing Date</TD>

<TD width=250>{build_edit_control field="Invoice_Printing_Date" value=$value_Invoice_Printing_Date mode="edit"}&nbsp;

</TD></TR>

<TR>

<TD class=shade width=150>Invoice Tax Date</TD>

<TD width=250>{build_edit_control field="Invoice_Tax_Date" value=$value_Invoice_Tax_Date mode="edit"}&nbsp;</TD></TR>

<TR>

<TD class=shade width=150>Paid</TD>

<TD width=250>{build_edit_control field="Payment_Received" value=$value_Payment_Received mode="edit"}&nbsp;</TD></TR>

<TR>

<TD class=shade width=150>Finished</TD>

<TD width=250>{build_edit_control field="Job_Finished" value=$value_Job_Finished mode="edit"}&nbsp;</TD></TR>

<TR>

<TD class=shade width=150>Customer Ref.</TD>

<TD width=250>{build_edit_control field="CustomerRef" value=$value_CustomerRef mode="edit"}&nbsp;</TD></TR>

<TR>

<TD class=shade width=150>Customer Name</TD>

<TD width=250>{build_edit_control field="Customer_Name" value=$value_Customer_Name mode="edit"}&nbsp;</TD></TR>

<TR>

<TD class=shade width=150>Payment Due Date</TD>

<TD width=250>{build_edit_control field="Payment_Due_date" value=$value_Payment_Due_date mode="edit"}&nbsp;</TD></TR>

<TR>

<TD class=shade width=150>Payment Date</TD>

<TD width=250>{build_edit_control field="Payment_Date" value=$value_Payment_Date mode="edit"}&nbsp;</TD></TR>

<TR>

<TD class=shade width=150>Note</TD>

<TD width=250>{build_edit_control field="Note" value=$value_Note mode="edit"}&nbsp;</TD></TR>

<TR height=50>

<TD align=middle colSpan=2><INPUT class=button type=submit value=Save name=submit1> <INPUT class=button type=reset value=Reset> <input type=hidden name="a" value="edited"></TD></TR></FORM><!-- legend -->

<TR height=50>

<TD align=left colSpan=2>

<HR width=300 noShade SIZE=1>

<BR><IMG src="images/icon_required.gif"> - Required field

</TD></TR></TBODY></TABLE>{include_if_exists file="include/footer.php"}&nbsp;{$linkdata}<script>SetToFirstControl();</script> </BODY></HTML>


Cheers

Paul

B
bochaka 6/4/2008

Hello all.

I have changed my background color using bgColor=black style="background-color: black; after <BODY
When I do this, The save button wont work anymore
Here is the code from the visual editor

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HTML><HEAD><TITLE>Helpdesk</TITLE>

<META http-equiv=Content-Type content="text/html; charset=windows-1252"><LINK

href="include/style.css" type=text/css rel=stylesheet>{$includes}

<META content="MSHTML 6.00.3790.72" name=GENERATOR></HEAD>

<BODY

style="BACKGROUND-COLOR: black; bodyonload:; bgColor: black include_if_exists:"

name="editform" method="post" action="job_edit.php" include {$onsubmit}

encType="multipart/form-data" <FORM header.php?}&nbsp;>

<H1>Helpdesk, Edit record [ Job No: {$show_key1}] </H1>{doevent name="EditOnLoad"}&nbsp;{$message}&nbsp;

<DIV align=left>

<HR width=300 noShade SIZE=1>

</DIV>&nbsp;&nbsp;&nbsp;<A href="job_list.php?a=return">Back to list</A><BR><BR>

<TABLE cellPadding=2><input type=hidden name=editid1 value="{$key1}">

<TBODY>

<TR>

<TD class=shade width=150>Contract</TD>

<TD width=250>{build_edit_control field="Contract" value=$value_Contract mode="edit"}&nbsp;</TD></TR>

<TR>

<TD class=shade width=150>Order Site Address</TD>

<TD width=250>{build_edit_control field="Order_Site_Address" value=$value_Order_Site_Address mode="edit"}&nbsp;</TD></TR>

<TR>

<TD class=shade width=150>Job Description</TD>

<TD width=250>{build_edit_control field="Job_Description" value=$value_Job_Description mode="edit"}&nbsp;</TD></TR>

<TR>

<TD class=shade width=150>Print</TD>

<TD width=250>{build_edit_control field="Invoice_Printed" value=$value_Invoice_Printed mode="edit"}&nbsp;</TD></TR>

<TR>

<TD class=shade width=150>Invoice Printing Date</TD>

<TD width=250>{build_edit_control field="Invoice_Printing_Date" value=$value_Invoice_Printing_Date mode="edit"}&nbsp;

</TD></TR>

<TR>

<TD class=shade width=150>Invoice Tax Date</TD>

<TD width=250>{build_edit_control field="Invoice_Tax_Date" value=$value_Invoice_Tax_Date mode="edit"}&nbsp;</TD></TR>

<TR>

<TD class=shade width=150>Paid</TD>

<TD width=250>{build_edit_control field="Payment_Received" value=$value_Payment_Received mode="edit"}&nbsp;</TD></TR>

<TR>

<TD class=shade width=150>Finished</TD>

<TD width=250>{build_edit_control field="Job_Finished" value=$value_Job_Finished mode="edit"}&nbsp;</TD></TR>

<TR>

<TD class=shade width=150>Customer Ref.</TD>

<TD width=250>{build_edit_control field="CustomerRef" value=$value_CustomerRef mode="edit"}&nbsp;</TD></TR>

<TR>

<TD class=shade width=150>Customer Name</TD>

<TD width=250>{build_edit_control field="Customer_Name" value=$value_Customer_Name mode="edit"}&nbsp;</TD></TR>

<TR>

<TD class=shade width=150>Payment Due Date</TD>

<TD width=250>{build_edit_control field="Payment_Due_date" value=$value_Payment_Due_date mode="edit"}&nbsp;</TD></TR>

<TR>

<TD class=shade width=150>Payment Date</TD>

<TD width=250>{build_edit_control field="Payment_Date" value=$value_Payment_Date mode="edit"}&nbsp;</TD></TR>

<TR>

<TD class=shade width=150>Note</TD>

<TD width=250>{build_edit_control field="Note" value=$value_Note mode="edit"}&nbsp;</TD></TR>

<TR height=50>

<TD align=middle colSpan=2><INPUT class=button type=submit value=Save name=submit1> <INPUT class=button type=reset value=Reset> <input type=hidden name="a" value="edited"></TD></TR></FORM><!-- legend -->

<TR height=50>

<TD align=left colSpan=2>

<HR width=300 noShade SIZE=1>

<BR><IMG src="images/icon_required.gif"> - Required field

</TD></TR></TBODY></TABLE>{include_if_exists file="include/footer.php"}&nbsp;{$linkdata}<script>SetToFirstControl();</script> </BODY></HTML>


Cheers

Paul

Just a thought, is the backgroung colour in the css over riding the background setting onpage?

S
swanside author 6/4/2008

I am not too sure about that, I can find the background code in the css file, I have changed some of the backgrounds for the tables, but the main page I have done this on the visual editor in html mode.
It seemes to disable he save button.

J
Jane 6/4/2008

Hi,
you've forgot to close quotes in your code.

First reset this page on the Visual Editor tab.

Then apply your changes again:

bgColor=black style="background-color: black;"

S
swanside author 6/4/2008

DOh.
Thanks. DOnt I feel silly now!!!!
Thanks again

Paul.