RE: populate HTML textbox with database query resp
Is there any way to do this "outside" the HTML form? I have a lot of "pure" HTML. I want to be able to do a db lookup (that part works OK) and then pre-fill the form on some variables. Would something like this work?<BR><BR><BR>IF fMentor.noFind.VALUE = "found" THEN<BR> iFieldCount = objRS.Fields.Count - 1<BR> 'fill in the form fields with existing data<BR> FOR i = 0 To iFieldCount - 1<BR> sName = objRS.Fields(i).NAME<BR> fMentor.Fields(sName).VALUE = objRS.Fields(i).VALUE<BR> NEXT 'FOR i = 0 TO iFieldCount - 1<BR><BR>END IF 'IF fMentor.noFind.VALUE = "found" THEN<BR><BR>I'll also need to do something different for radio buttons/list box selections and checkboxes...can I do those this way, too?