472,126 Members | 1,548 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,126 software developers and data experts.

disable entire form

I cannot find a way to disable an entire form. I need to disable the entire form during certain time periods, but I cannot find a way to do so...please help
Feb 8 '07 #1
3 2160
jhardman
3,406 Expert 2GB
That seems really easy. What have you tried, and why isn't it working?

Would you like the form visible but disabled, or would it work to just have a message say "check back later when the form is available"? Does this need to be dynamic (if they access the form at 2:55 and it shouldn't be used after three, should you set a timer and disable the form at the appropriate time?) or should you give a polite error message if they submit at the wrong time?

Any of those should be do-able.

Jared
Feb 9 '07 #2
I got it working, I had a problem with having 3 forms on one page, and it would disable all of the forms, instead I only wanted to disable 1. I did get it though, thanks
Feb 14 '07 #3
clain
79
I got it working, I had a problem with having 3 forms on one page, and it would disable all of the forms, instead I only wanted to disable 1. I did get it though, thanks

Thats very simple dear...
you can put an if condition like this

<% if (somthing ) then %>
put your form no:1 here
<% else if (condition) then%>
form2
<%else%>
form 3
<%
end if
end if
end if %>



If this was not what yopu expected... then get me your code, i will surely help you..
Feb 19 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by Bruno Alexandre | last post: by
7 posts views Thread by nicholas | last post: by
4 posts views Thread by Chris | last post: by
reply views Thread by Ahmad Jalil Qarshi | last post: by
6 posts views Thread by Brandon McCombs | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.