One way to call a protocol with parameters is to use the format: 'http://:/perlbin/runjob.pl?_protocol=&var1=value1&var2=value2...'
This however will automatically call the protocol without giving you the webport interface.
Using Javascript you can parse through the URL and paste the values into the textboxes.
Attached is a simple example that will take two parameters "Warren" & "Hedley" in a URL and place them inside textbox1 and textbox2.
1) Save UsernameWebportForm and UsernameWebport into Protocols\Web Services tab
2) Click the link 'http://:/webport/default/main.htm?protocol=Protocols/Web%20Services/UsernameWebport&textbox1=Warren&textbox2=Hedley'
This however will automatically call the protocol without giving you the webport interface.
Using Javascript you can parse through the URL and paste the values into the textboxes.
Attached is a simple example that will take two parameters "Warren" & "Hedley" in a URL and place them inside textbox1 and textbox2.
1) Save UsernameWebportForm and UsernameWebport into Protocols\Web Services tab
2) Click the link 'http://