You don't understand server side code
- giving us a .asp page URL that has been processed by the asp engine (or 1 form field) tells us nothing about your code (or any
error in it (the asp has already been processed so no one can see your real code)
Open your page in FP in Code view
copy the whole form code (w/ your 2 form fields T1 & T2) and paste it in a reply so we can see the initial code
Provide From <form>...thru </form>
--
_____________________________________________
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
_____________________________________________
| Yes, I know what he wrote and there are no illegal <p> tags in my page.
| If you go to
|
http://www.spicerweb.org/tesadd1.asp
| and click on one of the Edit ID's you will see what my problem is as far as
| cursor location and there are no illegal <p> tags in View>Source. There are
| none in the code for the page either.
| Thanks, Steve
|
| "Jens Peter Karlsen [FP-MVP]" wrote:
|
| > Stefan wrote it in his answer to you:
| > <input type="text" name="T1" size="20" </p> First Name T1<p><input
| > type="text" name="T2" size="20">Last Name T2</p>
| >
| > All <p> and </p> tags in the above is illegal html.
| > Also the first <input> tag is not closed. It must be.
| >
| > Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
| >
| > On Tue, 8 Aug 2006 04:14:01 -0700, Steve Spicer
| >
| > >Stefan, I don't see where you are seeing the illegal <p> tag. I've put the
| > >code snippet along with different attempts at resolving it at
| > >
http://www.spicerweb.org/tesadd1.asp
| > >Thanks for bearing with me on this.
| > >Steve
| > >
| > >
| > >"Stefan B Rusynko" wrote:
| > >
| > >> You posted a URL for the pages, not a code snippet
| > >> (the actual html/asp for the form from FP)
| > >> Your rendered html is
| > >> <input type="text" name="T1" size="20" </p> First Name T1<p><input type="text" name="T2" size="20">Last Name T2</p>
| > >>
| > >> Your problem, is the illegal </p> tags inside of the form fields
| > >> --
| > >>
| > >> _____________________________________________
| > >> 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
| > >> _____________________________________________
| > >>
| > >>
| > >> | I've posted code at
http://www.spicerweb.org/tesadd.asp for that page and for
| > >> | the editestdb.asp page that the hyperlink takes you to. That page is the
| > >> | first step in an edit database page which is not completed for this test. The
| > >> | whole routine for pages to editing the database I created several years ago
| > >> | for a work "rolodex" and it's bugged me since then that the cursor would be
| > >> | placed on the second character.
| > >> | The tutorial for creating the edit pages is at
| > >> |
http://spicerweb.org/tutorial/tutorial/tutorial.htm
| > >> |
| > >> | "Stefan B Rusynko" wrote:
| > >> |
| > >> | > Post a code snipped of your form at the top of
http://www.spicerweb.org/tesadd.asp
| > >> | >
| > >> | > --
| > >> | >
| > >> | > _____________________________________________
| > >> | > 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
| > >> | > _____________________________________________
| > >> | >
| > >> | >
| > >> | > >> | > | That doesn't work either. You can go to
| > >> | > |
http://www.spicerweb.org/tesadd.asp
| > >> | > | to see what I mean. You will need to click on the hyperlink in the results
| > >> | > | to take you to the edit page where you can click in the empty last name
| > >> | > | textbox.
| > >> | > | The cursor will be on the second character.
| > >> | > |
| > >> | > | "Jon Spivey" wrote:
| > >> | > |
| > >> | > | > to be sure you could trim the value
| > >> | > | > <textarea rows="2" cols="20"><%=trim(FP_FieldVal (fp_rs,
| > >> | > | > "FirstName"))%></textarea>
| > >> | > | >
| > >> | > | > --
| > >> | > | > Cheers,
| > >> | > | > Jon
| > >> | > | > Microsoft MVP
| > >> | > | >
| > >> | > | > | > >> | > | > > There should not be a space there unless you either set a space a a defaut
| > >> | > | > > value in your Db or your html has the space in it
| > >> | > | > >
| > >> | > | > > Make sure the code looks like (on 1 line)
| > >> | > | > > <textarea rows="2" cols="20"><%=FP_FieldVal (fp_rs,
| > >> | > | > > "FirstName")%></textarea>
| > >> | > | > >
| > >> | > | > >
| > >> | > | > > --
| > >> | > | > >
| > >> | > | > > _____________________________________________
| > >> | > | > > 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
| > >> | > | > > _____________________________________________
| > >> | > | > >
| > >> | > | > >
| > >> | > | > > | > >> | > | > > | This has always bugged me. If you create a textbox with an initial value
| > >> | > | > > | which is a field value, like <% = FP_FieldVal (fp_rs, "FirstName")%>
| > >> | > | > > then
| > >> | > | > > | when the form is live and you click in the text box when it's empty
| > >> | > | > > (there
| > >> | > | > > | was no field value in the db) the cursor is on the second character. If
| > >> | > | > > the
| > >> | > | > > | user doesn't manually backspace to the first character it loads a value
| > >> | > | > > into
| > >> | > | > > | the database with a <space> first character. That can screw up sorting
| > >> | > | > > | something fierce. It's not a problem when there is no initial field
| > >> | > | > > value
| > >> | > | > > | coded into the text box or if you tab into the textbox. Try it.
| > >> | > | > > | Is there any kind of workaround?
| > >> | > | > >
| > >> | > | > >
| > >> | > | >
| > >> | > | >
| > >> | > | >
| > >> | >
| > >> | >
| > >> | >
| > >>
| > >>
| > >>
| >