Page 1 of 1

URL Parameter refer to value in editbox

Posted: Thu Aug 19, 2021 9:07 am
by playstorm
In Form I need to create button after click it will open popup windows and use value in editbox

Like this http://www.abcd.com/studentgrade.php?stdmame = {value in editbox1}?Grade = {value in editbox2}

I see URL Parameter in bottom of link in form button

but i don't know how to refer value in editbox to this URL Parameter

I try URL PARAMETER
stdname =document.getElementsByName('editbox1')&Grade =document.getElementsByName('editbox2')

but it's not work

help me please

Best Regards

Re: URL Parameter refer to value in editbox

Posted: Thu Aug 19, 2021 11:56 am
by Pablo
If you set the form's 'Method' propetry to 'get' then the form will be submitted with URL parameters.

Re: URL Parameter refer to value in editbox

Posted: Thu Aug 19, 2021 12:53 pm
by playstorm
but after i submit I need open that page as popup window

with button type "submit" it didn't have any option etc. target window or frame like button type "link"

so how can I use URL Parameter with submit and after that open page as popup window?



best regards

Re: URL Parameter refer to value in editbox

Posted: Thu Aug 19, 2021 5:18 pm
by Pablo
There is no standard option to open a popup window with URL parameters. This requires a custom script.

Note that forms in WWB are standard HTML functionality so anything that works anywhere else will also work in WWB.

Re: URL Parameter refer to value in editbox

Posted: Fri Aug 20, 2021 1:01 am
by playstorm
thanks a lot :)