You need to sign in to do that
Don't have an account?
srutm
display a field of sobject in a visual force page on click of a button
i have a field "Assignedto3" in my visual force page like:
<apex:outputLabel value="AssignedTo3" for="AssignedTo3"/>
<apex:inputField id="AssignedTo3" value="{!tsk.Assigned2_To__c}"/>
I want it to be displayed ONLY when user clicks on a button "ADD"(to add one more user),in the visual force page,i need help in writing the "add" function in my custom controller and changes 2 b made in my vfpage
Try it like this:
And the visualforce page:
All Answers
Try it like this:
And the visualforce page:
thanks a ton..
If it works please mark that as solution, thx.
as i said when i click on "Add" button it displayed Assignedto3 field,now wen i click add for d next time i want "assignedto4" to be displayed..
i tried rendering "assignedto4" like d same as "assignedto3" but both are being displayed at the same time on the first click of "add" only..
as i said when i click on "Add" button it displayed Assignedto3 field,now wat i want is wen i click add for d next time i want "assignedto4" to be displayed..
i tried rendering "assignedto4" like d same as "assignedto3" but both are being displayed at the same time on the first click of "add" only..
any help would be helpfulll..