cancel
Showing results for 
Search instead for 
Did you mean: 

Render part of a web from based on previous fields

et3rnul
Champ in-the-making
Champ in-the-making
Is there a way to render part of a web form based on what's been entered in previous fields within the same form? For example, if I have a set of radio buttons, and I select 1 of 3, is there a way to render the remaining fields based on what I've selected? I want the fields to be separate instead of using one dojo widget.
1 REPLY 1

pmonks
Star Contributor
Star Contributor
I'm guessing here (I haven't tried it myself), but I don't think this will be possible without a fairly involved customisation exercise.  Currently Web Forms support dynamic construction at the time the form is initially requested by the contributor (via dynamic xs:includes), but there's no direct support for forms that are, in part, dynamically built based on content that the user has just entered.

For this scenario you might consider rolling your own form based content entry UI (eg. via a dashlet Web Script) - in this case the XML files generated from the custom dynamic form would still be stored in the user's sandbox etc., it's just that that process wouldn't leverage the default Web Form UI and associated functionality (automatic generation of renditions, for example).

Cheers,
Peter