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
Tejas Wadke 5Tejas Wadke 5 

How to get URL parameters in visualforce page


Below is my URL{!Contact.Feedback_ID__c}&fullname={!URLENCODE(Contact.FirstName)}{!URLENCODE(Contact.LastName)}&email={!URLENCODE(Contact.Email)}&phone={!URLENCODE(Contact.Phone)} 

I want to get the URL parameters fullname,email and phone in visualforce page.
Help on this please.

Ajay mishraAjay mishra
Hi Tejas,

You may try the below URL :

SandhyaSandhya (Salesforce Developers) 

Tejas Wadke,

Below code is useful to get URL parameters

<apex:inputField value="{!$CurrentPage.parameters.Paramtervalue}"/>

<apex:page standardController="somecontroller">
    <apex:form >
        <apex:pageBlock >
        <apex:pageBlockSection columns="1">
             <apex:inputField value="{!CurrentPage.parameters.FullName}"/>
Please refer below link to have a bright idea.
Please accept my solution as BestAnswer if my solution was helpful.This will make it available for other as the proper answer.If you felt i went above and beyond u can give me kudos using star.

Thanks and Regards