- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-05-2012 05:08 PM
I want when an user marks an checkbox, hidden another field in the form. I believe I can do it using javascript but I dont know where I can put this code.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-06-2012 10:40 AM
If you have a solution using javascript, you can put it in a widget template.
Ideally this would need to be handled using ajax, as this will make it possible to ensure good re-rendering of your widgets state when redirecting after a validation error. There are several helpers in the Nuxeo tag library available since 5.5, but that kind of use cases have not been incorporated in the layouts/widgets management yet. I gathered needed improvements in the jira issue NXP-8996, if you'd like to have a look at diff files i used to test that kind of re-rendering.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-06-2012 10:40 AM
If you have a solution using javascript, you can put it in a widget template.
Ideally this would need to be handled using ajax, as this will make it possible to ensure good re-rendering of your widgets state when redirecting after a validation error. There are several helpers in the Nuxeo tag library available since 5.5, but that kind of use cases have not been incorporated in the layouts/widgets management yet. I gathered needed improvements in the jira issue NXP-8996, if you'd like to have a look at diff files i used to test that kind of re-rendering.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-06-2012 11:06 AM
thanks for your answer Anahide, I will review that link
