Search found 6 matches
- Thu Sep 13, 2012 4:15 am
- Forum: VBScript
- Topic: Form Won't Submit
- Replies: 6
- Views: 6646
Form Won't Submit
I'm having troubles getting this form to work. I've dumped my entire asp page on here - but it just won't submit. I've verified that everything lines up with SQL - is there something wrong with the form? Dim QUERY_STRING_INFO QUERY_STRING_INFO = Replace(Request.QueryString("Id"), "{&q...
- Fri Aug 31, 2012 4:40 am
- Forum: VBScript
- Topic: Trailing Spaces After Data?
- Replies: 0
- Views: 5165
Trailing Spaces After Data?
I have an <input> field that automatically gets set with a value based on data from a SQL table: <input name="FirstName" type="text" id="FirstName" value="<%=(rsUsersMod.Fields.Item("FIRST_NAME").Value)%>" size="20" readonly> This form on t...
- Mon Aug 27, 2012 9:19 am
- Forum: VBScript
- Topic: Decline Entry to Site - VBScript
- Replies: 2
- Views: 3681
Decline Entry to Site - VBScript
I have a column under my 'USERS' table for STATUS (Either: 'Active' or 'Deactive' I'm trying to program by session to turn around any users with STATUS = 'Deactive' While I could just alter my SQL Query with a WHERE clause to exclude any users with STATUS 'Deactive' - I'd rather have my users see a ...
- Mon Aug 27, 2012 9:19 am
- Forum: VBScript
- Topic: Decline Entry to Site - VBScript
- Replies: 2
- Views: 3681
Decline Entry to Site - VBScript
I have a column under my 'USERS' table for STATUS (Either: 'Active' or 'Deactive' I'm trying to program by session to turn around any users with STATUS = 'Deactive' While I could just alter my SQL Query with a WHERE clause to exclude any users with STATUS 'Deactive' - I'd rather have my users see a ...
- Mon Aug 27, 2012 7:17 am
- Forum: VBScript
- Topic: VBscript ASP Help If Then
- Replies: 2
- Views: 3585
VBscript ASP Help If Then
All that does is actually display the Field Value on the page, but it doesn't make the form appear afterwards: <% value=rsUsersMod.Fields("STATUS").Value Response.Write(value) IF value = "Deactive" Then %> <form action="" method="POST" name="reactivat...
- Mon Aug 27, 2012 3:42 am
- Forum: VBScript
- Topic: VBscript ASP Help If Then
- Replies: 2
- Views: 3585
VBscript ASP Help If Then
I'm trying to make this button appear only if a value in SQL = 'Deactive' For some reason, the way my If Then is set up, doesn't make the button () appear when the statement is in fact true. <% IF ((rsUsersMod.Fields.Item("STATUS") = "Deactive")) Then%> <form action="&qu...