function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
AJHAJH 

URL elements passed to fields

Let's say that I have a URL that leads to a visualforce SUBMIT form.  In a few fields I'd like to pass a value e.g.  &fieldA=text1&fieldB=text2

 

I'd like text1 and text2 to end up in fields ready to be submitted.  Is this possible?  If so, anybody have any input how?

 

Thanks!

 

Hin

kiranmutturukiranmutturu

while sending the query string values you can use 
{!$currentpage.paramters.fielda} as a value in the submit form

and similarly for the second also...try this 

 

but u can't bind these values to input field but u can use inputtex

AJHAJH

Thanks Kiran - I'll give this a try!

 

One other question:  Do I have to do something special to make a visualforce "submit" page open to anybody (not require a login?)  For some reason when I go to the page outside of a session, I get a read only form.

 

Thanks a bunch,

Hin