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
Vikas MenonVikas Menon 

rendering page on a click of a button

Hi All,
i have been struggling with page rendering in the last few weeks. The requirement is that i have two buttons namely "Add experience" and "remove Experience". On the click of these buttons a set of fields is to be added to the visualforce page and removed from the visualforce page respectively.
Please suggest how can we remove a set of fields from the VF page on a click. Do we use <apex:para name field to render the page ?.

Thanks
Tejpal KumawatTejpal Kumawat
Hello Vikash

Rerender attribute is used to refresh a particular section or a Visualforce code block. For more help you need paste some  code.

Regards
Tej Pal Kumawat
Skype : tejpalkumawat1991

If this answers your question mark Best Answer it as solution and then hit Like!
Vikas MenonVikas Menon
Hi Tejpal,
The code actually is way too lengthy to post. Il explain it in brief
Suppose i have a set of fields :-

Name
Surname
Age 

And two buttons Add and Remove

thus when we click Add the name,surname and age section should get rendered and a new set of fields should come. Likewise for Remove button the set of fields which appeared are to be removed on click.
Hope this helps.

Regards