Click here to Skip to main content
15,908,768 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: solution pls Pin
Fred_Smith27-Nov-07 2:22
Fred_Smith27-Nov-07 2:22 
AnswerRe: solution pls Pin
pmarfleet27-Nov-07 2:23
pmarfleet27-Nov-07 2:23 
QuestionE-mail web page Pin
s4_sabahatf27-Nov-07 0:44
s4_sabahatf27-Nov-07 0:44 
AnswerRe: E-mail web page Pin
pmarfleet27-Nov-07 1:35
pmarfleet27-Nov-07 1:35 
QuestionEvent firing [modified] Pin
waddie126-Nov-07 22:05
waddie126-Nov-07 22:05 
AnswerRe: Event firing Pin
Michael Sync27-Nov-07 22:29
Michael Sync27-Nov-07 22:29 
QuestionRe: Event firing [modified] Pin
waddie128-Nov-07 2:56
waddie128-Nov-07 2:56 
Questionforget the input text Pin
idsanjeevjha26-Nov-07 20:40
idsanjeevjha26-Nov-07 20:40 
hi its work but i want to if any error massage then retrive all input text but its forget it after click on submit button or any error message so where is the mistake
[code]
<%@ Language=VBScript%>
<%Option Explicit
If Request.Cookies("userid") = "" Then
Response.Redirect "login.asp"
Else
Dim R, page,vopenflg
Dim vlaunchby,i,vcount
Dim vtopid,vnoofreply
Dim vtopstatus
Dim vtopsub
Dim vemail
Dim vmsg
Dim errorMsg
Dim conn
Set conn = Server.Createobject("ADODB.Connection")
conn.Open "DSN=ORACLE; User ID = STARTER; Password = STARTER"
Set R = Server.CreateObject("ADODB.Recordset")
R.Open "Select top_id from topmaster order by top_id ", conn, adOpenStatic, adLockOptimistic, adCmdText
If R.Recordcount > 0 Then
R.Movelast
vtopid = R("top_id")
vtopid = CInt(vtopid) + 1
Else
vtopid = 1
End if
R.Close
vopenflg=Response.Write("N")
vnoofreply=Cint(vnoofreply)
vnoofreply=0
If Not IsEmpty(Request.Form("submit")) then
vtopstatus = Request.Form("vtopstatus")
vtopsub = Request.Form("vtopsub")
vopenflg=request.form("vopenflg")
vmsg = Request.Form("vmsg")
vtopsub = trim(vtopsub)
vopenflg=trim(vopenflg)
vnoofreply=trim(vnoofreply)
vmsg = trim(vmsg)
vtopstatus = trim(vtopstatus)
If len(errorMsg) = 0 Then
If len(vtopsub) = 0 Then
errorMsg = "Please Enter Topic Subject "
End If
End if
If len(errorMsg) = 0 Then
If len(vmsg) = 0 Then
errorMsg = "* Your must enter your message"
end if
if len(vmsg) > 500 Then
errorMsg = "** More than 500 characters...now limiting to 500 "
End If
End If
If len(errorMsg) = 0 Then
conn.Close
conn.Mode = adModeReadWrite
conn.Open
R.Open "Select * from topmaster", conn, adOpenStatic, adLockOptimistic, adCmdText
R.Addnew
R("top_id") = vtopid
R("top_sub") = vtopsub
R("topic_status") = vtopstatus
R("launch_by") = request.cookies("userid")
R("launch_dt") = Cdate(date())
R("open_flg")= request.form(vopenflg)
R("no_of_reply")=vnoofreply
R("msg") = vmsg
R.UPdate
R.Close
Response.Redirect "message.asp"
End If
END IF
End If
%>


<title>Voice Of Baraunians







POST YOUR MESSAGE








<%If len(errorMsg) > 0 Then
Response.Write "

                            " & errorMsg & "

"
End If
%>


Topic Subject :
( Please Post Message Within 500 Character )
Message :






function goback()
{
window.location = "brvoice.asp"
}






[/code]

sanjeev

AnswerRe: forget the input text Pin
pmarfleet27-Nov-07 1:38
pmarfleet27-Nov-07 1:38 
Questionalign to justified Pin
idsanjeevjha26-Nov-07 19:03
idsanjeevjha26-Nov-07 19:03 
AnswerRe: align to justified Pin
Michael Sync26-Nov-07 19:16
Michael Sync26-Nov-07 19:16 
GeneralRe: align to justified [modified] Pin
idsanjeevjha26-Nov-07 19:32
idsanjeevjha26-Nov-07 19:32 
GeneralRe: align to justified Pin
Michael Sync26-Nov-07 19:41
Michael Sync26-Nov-07 19:41 
GeneralRe: align to justified Pin
idsanjeevjha26-Nov-07 19:50
idsanjeevjha26-Nov-07 19:50 
GeneralRe: align to justified Pin
Michael Sync26-Nov-07 20:04
Michael Sync26-Nov-07 20:04 
QuestionHow to check IIS if it is working or not Pin
Mushtaque Nizamani26-Nov-07 18:57
Mushtaque Nizamani26-Nov-07 18:57 
AnswerRe: How to check IIS if it is working or not Pin
Michael Sync26-Nov-07 19:03
Michael Sync26-Nov-07 19:03 
QuestionIs this test scenario valid? Pin
Mushtaque Nizamani26-Nov-07 19:34
Mushtaque Nizamani26-Nov-07 19:34 
AnswerRe: Is this test scenario valid? Pin
Michael Sync26-Nov-07 19:43
Michael Sync26-Nov-07 19:43 
QuestionHow do i make this kind of project? network application software development (i.e. designing, coding and testing) Pin
jefftalita26-Nov-07 15:32
jefftalita26-Nov-07 15:32 
AnswerRe: How do i make this kind of project? network application software development (i.e. designing, coding and testing) Pin
Michael Sync26-Nov-07 19:04
Michael Sync26-Nov-07 19:04 
AnswerRe: How do i make this kind of project? network application software development (i.e. designing, coding and testing) Pin
Paddy Boyd27-Nov-07 2:20
Paddy Boyd27-Nov-07 2:20 
JokeRe: How do i make this kind of project? network application software development (i.e. designing, coding and testing) Pin
Vasudevan Deepak Kumar27-Nov-07 3:37
Vasudevan Deepak Kumar27-Nov-07 3:37 
QuestionRequirements wanted Pin
raghul varma26-Nov-07 15:22
raghul varma26-Nov-07 15:22 
AnswerRe: Requirements wanted Pin
Michael Sync26-Nov-07 19:07
Michael Sync26-Nov-07 19:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.