Hi I am having trouble trying to load a page containing a field to be populated from its attached query string parameters.
I am using the field "brokerkey" value as <%= Request.QueryString("broker") %> however it appears it should be [%= Request.QueryString("broker") %] that is using square brackets instead of <>.
Any help please on formatting the value field to get the parm string when page is loaded.
populate form using Request.QueryString
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/forms.html
http://www.wysiwygwebbuilder.com/form_wizard.html
Frequently Asked Questions about Forms
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/forms.html
http://www.wysiwygwebbuilder.com/form_wizard.html
Frequently Asked Questions about Forms
Re: populate form using Request.QueryString
It looks like ASP code?
To which part of the software is this related?
How did you add it?
To which part of the software is this related?
How did you add it?
Re: populate form using Request.QueryString
Hi simply in the properties for a text field to be keyed into. By pulling the query string
it saves typing the same fields twice. yes it is asp.
I could give you the properties box as a jpg but dont know how.
it saves typing the same fields twice. yes it is asp.
I could give you the properties box as a jpg but dont know how.
Last edited by royc on Mon Sep 06, 2021 6:48 am, edited 1 time in total.
Re: populate form using Request.QueryString
Sorry, can you please be more specific?
What exactly oi you mean by
Do you have an example project, so I can see all your settings?
Note: you may need to change the double quotes into single quotes otherwise it may break the structure of the HTML.
What exactly oi you mean by
Do you mean the code is changed by the software?I am using the field "brokerkey" value as <%= Request.QueryString("broker") %> however it appears it should be [%= Request.QueryString("broker") %] that is using square brackets instead of <>
Do you have an example project, so I can see all your settings?
Note: you may need to change the double quotes into single quotes otherwise it may break the structure of the HTML.
Re: populate form using Request.QueryString
Sure i have sample project. How do i get it to you?
I have screen prints of properties, and web page, first if you like. as jpg images
I have screen prints of properties, and web page, first if you like. as jpg images
Re: populate form using Request.QueryString
Please see this FAQ:
viewtopic.php?f=10&t=82134
viewtopic.php?f=10&t=82134
Re: populate form using Request.QueryString
sorry have not been able to post my project my computer died.
However I am trying to get the web page to show a session variable when the page is loaded.
thus I have set the session variable "sesbroker" in asp code on a previous page, now to show it on page2 i have the following in the value field.
Session["sesbroker"].ToString();
Is this the correct coding to display session variables that have been preset elsewhere?
and how to show a numeric amount field with $$$.cc ?
Thanks Roy
However I am trying to get the web page to show a session variable when the page is loaded.
thus I have set the session variable "sesbroker" in asp code on a previous page, now to show it on page2 i have the following in the value field.
Session["sesbroker"].ToString();
Is this the correct coding to display session variables that have been preset elsewhere?
and how to show a numeric amount field with $$$.cc ?
Thanks Roy
Re: populate form using Request.QueryString
I'm sorry, I cannot help you with custom coding.
My knowledge about ASP is very limited.
My knowledge about ASP is very limited.