Steve Wilson
|
Posted: 03/20/2003, 7:30 AM |
|
When I use a response.write in any of the code snippets on any form on the
page, they always show up at the very top of the page. Any way to get them
to show up right above or below the form on the page where the snippet is?
Thanks
|
|
|
Stefan Hogedal
|
Posted: 03/23/2003, 12:40 PM |
|
Assuming CodeCharge ASP with templates this is how I would do it:
1. Put a unique placeholder where you want your output (form properties
Header/Footer), let's say {myHeader}
2. Change
response.write "text"
to
SetVar "myHeader", "text"
/Stefan
"Steve Wilson" <mr_wilson@hotmail.com> wrote in message
news:b5cmrj$23a$1@news.codecharge.com...
> When I use a response.write in any of the code snippets on any form on the
> page, they always show up at the very top of the page. Any way to get
them
> to show up right above or below the form on the page where the snippet is?
>
> Thanks
>
>
|
|
|
Steve Wilson
|
Posted: 03/25/2003, 7:22 PM |
|
Hey. Thanks for your reply. Tell me more about unique placeholder. I
tried just putting myHeader in the header without quote or anything and put
the code in as you suggested in the before show event. It didn't error, but
myHeader didn't change to "text".
Thanks again.
"Stefan Hogedal" <shogedal@hotmail.com> wrote in message
news:b5l63m$rhs$1@news.codecharge.com...
> Assuming CodeCharge ASP with templates this is how I would do it:
> 1. Put a unique placeholder where you want your output (form properties
> Header/Footer), let's say {myHeader}
> 2. Change
> response.write "text"
> to
> SetVar "myHeader", "text"
>
> /Stefan
>
> "Steve Wilson" <mr_wilson@hotmail.com> wrote in message
>news:b5cmrj$23a$1@news.codecharge.com...
> > When I use a response.write in any of the code snippets on any form on
the
> > page, they always show up at the very top of the page. Any way to get
> them
> > to show up right above or below the form on the page where the snippet
is?
> >
> > Thanks
> >
> >
>
>
|
|
|
Steve Wilson
|
Posted: 03/28/2003, 5:53 PM |
|
I figured it out. Thanks. You have to put the placeholder in {} curley
brackets.....
"Steve Wilson" <mr_wilson@hotmail.com> wrote in message
news:b5r6e7$dqg$1@news.codecharge.com...
> Hey. Thanks for your reply. Tell me more about unique placeholder. I
> tried just putting myHeader in the header without quote or anything and
put
> the code in as you suggested in the before show event. It didn't error,
but
> myHeader didn't change to "text".
>
> Thanks again.
>
> "Stefan Hogedal" <shogedal@hotmail.com> wrote in message
>news:b5l63m$rhs$1@news.codecharge.com...
> > Assuming CodeCharge ASP with templates this is how I would do it:
> > 1. Put a unique placeholder where you want your output (form properties
> > Header/Footer), let's say {myHeader}
> > 2. Change
> > response.write "text"
> > to
> > SetVar "myHeader", "text"
> >
> > /Stefan
> >
> > "Steve Wilson" <mr_wilson@hotmail.com> wrote in message
> >news:b5cmrj$23a$1@news.codecharge.com...
> > > When I use a response.write in any of the code snippets on any form on
> the
> > > page, they always show up at the very top of the page. Any way to get
> > them
> > > to show up right above or below the form on the page where the snippet
> is?
> > >
> > > Thanks
> > >
> > >
> >
> >
>
>
|
|
|
|