We help IT Professionals succeed at work.

Pass value from static page to APEX

Static HTML form will create & send URL string with value and =, since APEX doesn't accept =, is there a way we can force the static form tag to use : instead of = ?
Comment
Watch Question

Dave BaldwinFixer of Problems
Most Valuable Expert 2014

Commented:
That might JSON syntax and javascript may be able to do that for you.  Here's some info http://www.w3schools.com/json/json_eval.asp  but I don't understand it.
Commented:
You can put the value of the variable into the URL:

http://myserver:8080/apex/f?p=101:1:0::::P1_VARIABLE:P1_VALUE

Assumed you have a P1_VARIABLE item on page 1.

You can use javascript to go to the definate page:

Change the "submit" button into a regular button, ad an onClick event handler, to point to a javascript function.
Then create that function that reads your form and in the end go to the URL created like that.

regards,
Richard