You need to sign in to do that
Don't have an account?

Dynamic input fields
Hello,
I've a requirement to display input fields of a particular standard object on my VF page; but the catch is, the set of fields I need displayed is going to be customizable (field names stored in a custom object, for example). How can I dynamically display these input fields based on the selections the user has made?
Thanks in advance.
Message Edited by santosh on 06-10-2008 02:46 AM
The hard part, which may be insurmountable at the current time (we do a feature on the roadmap that will make this a snap but it is going to be awhile before it makes it out to you), is going to be the lack of support for dynamic creation of value bindings and components.
Message Edited by Scott.M on 06-10-2008 08:36 AM
Message Edited by Scott.M on 06-10-2008 08:37 AM
This is exactly what I too was contemplating!
Much appreciated.
Can I have <apex:inputText> fields within a pageblocktable and assign the "id" of those inputtext fields to a {!blah.value} merge field??
so I can have an extra input text field for every record with an id that is related in someway to that record which I can reference using some javascript or similar.
for example....