Hi Karthi,
So you have 3 controls:
- Request type: radio button.
- File upload.
- Document type: dropdown, possible values depend on request type.
I think you already populate the document type with a service+action. I'd suggest you pass to that service the current request type, and run the action on the request type changing and form load. This way, it is up to the service to return the appropriate possible document types depending on the selected request type. Would this work for you?
Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet