You need to sign in to do that
Don't have an account?
using javascript remoting to re-render inputfields?
I have a requirement to show/hide "child" inputfields on a page based on the values of parent inputfields. Currently I am doing this with an actionsupport on the parent field that re-renders the child fields when the parent changes. This works fine but it's a bit slow and I was hoping to replace this with javascript remoting.
However, afaik there is no way for me to add/remove inputfields by manipulating the DOM such that they are not part of the form submit. I.E. if someone makes a change to an inputfield and later I hide that field I don't want any page level validation to run on that field or for the changes the user made to be saved.
Is there a way to do this or do I need to stick with re-rendering the fields?