WCM Web Form - show or hide fields dynamically
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-16-2009 01:44 PM
Hi,
I've tried searching the forums and wiki but can't find a specific answer or example, or even if this is possible.
What I would like to have in a wcm web form is a drop down menu with a number of options (this I know how to do).
When the user selects an option from this drop down menu, certain fields (i.e. xs:element) will be hidden and some will be shown.
For example:
dropdown menu choice = car
Fields shown = color and engine (frame material field is hidden)
dropdown menu choice = bike
Fields shown = color and frame material (engine field is hidden)
Is this possible? If so, are there any examples?
I've tried searching the forums and wiki but can't find a specific answer or example, or even if this is possible.
What I would like to have in a wcm web form is a drop down menu with a number of options (this I know how to do).
When the user selects an option from this drop down menu, certain fields (i.e. xs:element) will be hidden and some will be shown.
For example:
dropdown menu choice = car
Fields shown = color and engine (frame material field is hidden)
dropdown menu choice = bike
Fields shown = color and frame material (engine field is hidden)
Is this possible? If so, are there any examples?
Labels:
- Labels:
-
Archive
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-23-2009 02:19 AM
This is basically what the <xs:choice> XML Schema construct allows, but unfortunately it isn't currently supported in WCM Web Forms. I'd suggest voting and/or commenting on https://issues.alfresco.com/jira/browse/ENH-393 or https://issues.alfresco.com/jira/browse/ALFCOM-2599.
Cheers,
Peter
Cheers,
Peter
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-24-2009 09:24 AM
Thanks for the information Peter.
That's a shame it's not supported yet. I've voted for it in JIRA but for me by the time it is implemented we'll have already gone down a different, less user-friendly, web form route.
That's a shame it's not supported yet. I've voted for it in JIRA but for me by the time it is implemented we'll have already gone down a different, less user-friendly, web form route.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-05-2019 05:27 AM
Hi ScottF,
I too wanted to implement the same, so is there any example?
Regards,
Sekhar
