Fire a content_add_more_js callback on a custom js event
alex_andrascu - November 5, 2009 - 13:34
| Project: | Content Construction Kit (CCK) |
| Version: | 6.x-2.5 |
| Component: | content.module |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
To short it out here is what i want.
I want to create a date-popup calendar widget with a cck date field based on Date module where a click on a date will add / remove a field value. I know that
content_add_more_js takes care of adding new widget i just don't have a clear view on how i can do all this.
Anyone interested in the same functionality ?

#1
You can trigger the AHAH request programmatically, and you can even replace the URL with your own. See the updateMultipleValues function in js/node_form.js shipped with Node Relationships module for an example.
#2
Thank you very much...i'll take a look.
#3
Automatically closed -- issue fixed for 2 weeks with no activity.