Is it possible to pass a parameter through a URL to an input field on a Visualforce page? It would be like pre populating a field, but in this case it would be hidden.
1 Answer
you can input your parameter via URL like ap2.salesforce.com/vfPages?id=01Z90000000EkUk
for example
and you can add this
Id testId = ApexPages.CurrentPage().getparameters().get('id')
to get the parameter from url then you can put the testId
to hidden input field that you want
apexPages.currentPage().getParameters().get('fooParm')
- why do you need the hidden field at all?