|
it
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Simultaneous fill out and display of a form
I would like to make a form that multiple people can access and update at
same time with their web browser. The form would have fields that each would fill in and I would like for all to see what the others fill in. Is there an automatic way or would they have to refresh? Any books, etc. to help would be great. Thank you. W wrote:
> I would like to make a form that multiple people can access and How frustrating would that be?!? I just spent time filling in my stuff only > update at same time with their web browser. The form would have > fields that each would fill in and I would like for all to see what > the others fill in. Is there an automatic way or would they have to > refresh? to have it be overwritten by stuff another user entered?!? So, in the simplest form, yes, the user would have to refresh. Using AJAX, which is offtopic in this group, you can use client-side scripting to send requests to the web server without submitting your form. There's a wealth of information about AJAX and using the XMLHTTPRequest object that can be quickly seen via the use of Google. When you have specific questions, see a client-side newsgroup such as .scripting.jscript or comp.lang.javascript. -- Microsoft MVP - ASP/ASP.NET Please reply to the newsgroup. This email account is my spam trap so I don't check it very often. If you must reply off-line, then remove the "NO SPAM" W wrote on 09 mei 2006 in microsoft.public.inetserver.asp.general:
> I would like to make a form that multiple people can access and update if you do not need the data to persist on server/IIS down,> at same time with their web browser. The form would have fields that > each would fill in and I would like for all to see what the others > fill in. Is there an automatic way or would they have to refresh? application varables will do fine. You will have to refresh [or do an AJAX like connection]. Beware of data clash. ========= refreshing example of minimalistic chatbox =========== <meta http-equiv="refresh" content="10"> <% if request.form("x1")<>"" then application("a1") = application("a1")&"<br>"&request.form("x1") <%=application("a1")%>end if %> <br><br> <form method=post> <input name=x1 value='<%=application("a1")%>'> <input type=submit> </form> not tested -- Evertjan. The Netherlands. (Please change the x'es to dots in my emailaddress) Evertjan. wrote on 09 mei 2006 in
microsoft.public.inetserver.asp.general: Show quote > W wrote on 09 mei 2006 in microsoft.public.inetserver.asp.general: sorry:> >> I would like to make a form that multiple people can access and update >> at same time with their web browser. The form would have fields that >> each would fill in and I would like for all to see what the others >> fill in. Is there an automatic way or would they have to refresh? > > if you do not need the data to persist on server/IIS down, > application varables will do fine. > > You will have to refresh [or do an AJAX like connection]. > > Beware of data clash. > > ========= refreshing example of minimalistic chatbox =========== > > <meta http-equiv="refresh" content="10"> > <% > if request.form("x1")<>"" then > application("a1") = application("a1")&"<br>"&request.form("x1") > end if > %> > <%=application("a1")%> > <br><br> > <form method=post> > <input name=x1 value='<%=application("a1")%>'> <input name=x1 value=''> Show quote > <input type=submit> > </form> > > not tested > -- Evertjan. The Netherlands. (Please change the x'es to dots in my emailaddress) |
|||||||||||||||||||||||