Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Submit a form without submit button
Message
 
 
To
03/01/2002 17:57:39
General information
Forum:
Visual Basic
Category:
Internet applications
Miscellaneous
Thread ID:
00600548
Message ID:
00600670
Views:
18
Try using parentheses when calling a method. Not sure with VB scripting cause I don't use it on the client side.

ie. ReportsForm.submit()


>Hi,
>
>(Sorry if this is a wrong forum to post vbscript)
>
>Appreciate if someone can tell me how to submit a form which has only one hidden field. for example below code does not run the viewreport.asp
>
>	Sub ShowReport(cReport)
>		ReportsForm.serial.value = cReport
>		ReportsForm.submit
>	End Sub
>-->
>
>......
>I have some code here and at the end the below
>
>FORM ID="ReportsForm" Action="viewreport.asp" Method="post"
>	INPUT Type='hidden' Name='serial' ID='serial'
>/FORM
>
>..... I have removed the tags opening and closing tags from above 3 lines as
>otherwise it does not let me post this message to this forum. Thanks
>
>
Michael McLain
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform