Re: Stumpted Again

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 12314
interpreted = N
texte = >At 11:07 AM 7/8/97, Grant Hulbert altered the fabric of cyberspace, >writing: >> >If a poster uses html in the posting all is fine. If the poster then >> >decides to 'edit' his posting that starts (important starts) with an html >> >tag, WebCat thinks there is no text in the field and prompts you with You >> >must put some text in the Announcement feild. >> >> If you view the source of that form, you'll see that there is illegal >>HTML generated because you're trying to put HTML inside of an edit field. >>Netscape can't tell the difference between the tags that you think of as >>'raw text', and the true tags that surround it. >> >> The solution is to look at how we implemented the PageEditor templates in >>TemplateEditor/EditPage.tmpl. WebCatalog can convert those characters >>like < and > to < and > so they don't confuse the

> >But you know that this is for editing.... humm.... > >The orginal posting containing the html tags went to the database unchanged >with the html intact. The edit washes the text through the [input] tag >while the orginal does not.Glenn,The original *WILL* wash the text thru the [input] context if you *do not* enter the data directly from the form ... as it appears you are doing ... although I cannot really tell because that part of your html is not shown above.Try using the form to collect the information entered by the user into variabes, then send the variables to the following form, then use an [append] context to actually append the new record to the database ... but inside the [append] context, make sure to put all your variables that have collected

> >But you know that this is for editing.... humm.... > >The orginal posting containing the html tags went to the database unchanged >with the html intact. The edit washes the text through the [input] tag >while the orginal does not.Glenn,The original *WILL* wash the text thru the [input] context if you *do not* enter the data directly from the form ... as it appears you are doing ... although I cannot really tell because that part of your html is not shown above.Try using the form to collect the information entered by the user into variabes, then send the variables to the following form, then use an [append] context to actually append the new record to the database ... but inside the [append] context, make sure to put all your variables that have collected