Just remove the input tag and leave the DBRW code
Change
<input type="text" name="FieldName" value="<%=FP_FieldVal(fp_rs,"FieldName")%>">
To
<%=FP_FieldVal(fp_rs,"FieldName")%>
--
_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________
| Thomas, thanks -- I just tried deleting the fields from the form, but this
| won't work for me. I'm new to FrontPage, so maybe I'm going about this
| incorrectly.
|
| I need to display rows of data from a database tabel, then let the user
| select a row and edit a couple of fields and submit back to the database. I
| used the Wizard and am fairly pleased with what I created with it, but the
| fields have to be display only except for the couple that they can modify.
|
| When I clcik on the Edit button on the page and then view the source, I see
| javascript that sets the input type. From what I understand, I can alter
| that javascript to make the field display only, but can't find where to get
| to the javascript within FrontPage or on my local machine (or server) that
| is stroing the website.
|
| Am I making this too hard for myself? Is there a better way to accomplish
| what I need?
|
| - Joe
|
| "Thomas A. Rowe" wrote:
|
| > If you don't want use to edit certain fields, then you need to remove the form fields from the form
| > and just show the content from the database in it's place. May require you to learn to hand code and
| > not use the FP database components.
| >
| > --
| > ==============================================
| > Thomas A. Rowe (Microsoft MVP - FrontPage)
| > ==============================================
| > If you feel your current issue is a results of installing
| > a Service Pack or security update, please contact
| > Microsoft Product Support Services:
| >
http://support.microsoft.com
| > If the problem can be shown to have been caused by a
| > security update, then there is usually no charge for the call.
| > ==============================================
| >
| > | > >I am using FrontPage 2003. I have a form page to display a row of data from
| > > a database and gives the user the ability to edit some fields. I don't want
| > > them to be able to edit all of the fields. How do I change the properties on
| > > the form? I used the Database Interface Wizard to create the page. It
| > > appears that when I click the edit button and then view the source in IE that
| > > the properties of the fields are in a javascript, but I can't find the
| > > javascript anywhere to edit it.
| >
| >
| >