Jump to content

Change Background For A Section Of A Datapage


Recommended Posts

I have a datapage which has some fields that are editable due to their inclusion in a script.  I want to make it clear, though, that a user does not change any of the fields.  I have created the following HTML:

 

<div style="background-color: gray; padding: 10px 0px 10px 10px;"><b class="gray-bg">Automatically Calculated</b>
 
<div style="padding: 3px 0px;">
<div style="width:30.5%; display:inline-block;"><label for="EditRecordSmart_PartsSubTbl_Stage3Completed" style="text-align: left; verticle-align: top;padding: 20px 7px 3px 0px;white-space: normal;color: #000000;font-size: 12px;font-family: Arial;">Completed</label></div>
<input class="cbFormTextField" id="EditRecordSmart_PartsSubTbl_Stage3Completed" maxlength="15" name="EditRecordSmart_PartsSubTbl_Stage3Completed" size="25" style="color: #000000; font-size: 12px; font-family: Arial ; font-style: normal; font-weight: normal; border-color: #D2D6D9 #EEEEEE #EEEEEE #D2D6D9; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) inset; -moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) inset; -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) inset; border-width: 1px; border-style: solid; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; -o-border-radius: 3px; padding: 3px;" type="checkbox" value="" /></div>
 
<div style="padding: 2px 0px;">
<div style="width:30.5%; display:inline-block;"><label for="EditRecordSmart_PartsSubTbl_Stage3DateCompleted" style="text-align: left; verticle-align: top;padding: 20px 7px 3px 0px;white-space: normal;color: #000000;font-size: 12px;font-family: Arial;">Date Completed</label></div>
<input class="cbFormTextField" id="EditRecordSmart_PartsSubTbl_Stage3DateCompleted" maxlength="15" name="EditRecordSmart_PartsSubTbl_Stage3DateCompleted" size="25" style="color: #000000; font-size: 12px; font-family: Arial ; font-style: normal; font-weight: normal; border-color: #D2D6D9 #EEEEEE #EEEEEE #D2D6D9; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) inset; -moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) inset; -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) inset; border-width: 1px; border-style: solid; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; -o-border-radius: 3px; padding: 3px;" type="text" value="" /></div>
</div>
 
-------------------------------------------------
This displays correctly, and when the script runs, it fills out the fields correctly.  When submitted (update single record datapage), the data in the fields are not saved.  Can someone explain where I went wrong?
 
Thanks
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...