Skip to main content
Inspiring
August 21, 2006
Question

Can I do this on 1 page?

  • August 21, 2006
  • 1 reply
  • 220 views
Hi Guys,

Just now I have a form that sends the contents of a text box via the forms action to another asp page that has a function on it that takes the string from the text box and makes a folder in the sites root and then bounces back to the first page once done.

Id like to do this all on 1 page if I could??

The user adds the folder name in the text box, hits submit, the function makes the folder and a message is displayed somehow to say job Done!!

Can anyone advise me how to do this if its possible?
Im using DW8 / ASP pages, and doing it in VBS using FSO to make my folders.

Thanks in advance for any help.
Regards
Tag
This topic has been closed for replies.

1 reply

Inspiring
August 21, 2006
Yes it can be done on one page but your code could get quite complicated as
you would need to pass something back from the success page to remove the
areas that you did not want to fire a second time.

--
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver

Valleybiz Internet Design
www.valleybiz.net

"Tag2007" <webforumsuser@macromedia.com> wrote in message
news:ecc23g$qck$1@forums.macromedia.com...
> Hi Guys,
>
> Long winded title, sorry I couldnt think what to call this thread?
>
> Just now I have a form that sends the contents of a text box via the forms
> action to another asp page that has a function on it that takes the string
> from
> the text box and makes a folder in the sites root and then bounces back to
> the
> first page once done.
>
> Id like to do this all on 1 page if I could??
>
> The user adds the folder name in the text box, hits submit, the function
> makes
> the folder and a message is displayed somehow to say job Done!!
>
> Can anyone advise me how to do this if its possible?
> Im using DW8 / ASP pages, and doing it in VBS using FSO to make my
> folders.
>
> Thanks in advance for any help.
> Regards
> Tag
>
>


Tag2007Author
Inspiring
August 21, 2006
Thanks,
I actually got this going today ,

I added the function at the top of the page and an If statment under it, Ive used the forms action to call the page again and if the button was clicked do the function... It seems to be working and was not as bad as I thought It may be to carry out..
Thanks again
Tag