Thursday, August 28, 2008

Genie: Permitting the Order Date to be edited on the Edit Order page

Out-of-the-box, the Order Date box on the Edit Order page is read-only.

If you would like to permit users to edit the Order Date, to change it to another date, edit MyEditScreens.config, and change this line:

<Field Name="OrdDateOrdered" Type="TextBox" CssClass="orders_edit_onethird_readonly" ShowBrowse="false" Required="false" Width="232" Align="left" ReadOnly="true"/>

To say this:

<Field Name="OrdDateOrdered" Type="TextBox" CssClass="orders_edit_onethird_textinput" ShowBrowse="false" Required="false" Width="232" Align="left" />

The changes were to remove ReadOnly="true" and change the CssClass=.

Remember to change the line in both the orders_item_edit and orders_serial_edit screens.

No comments: