Hi Alain!
Unfortunately items can not be added to the Select Dynamic Cascade or the Select Dynamic on the fly. I had a similar situation a while back and ended up creating a content type for the items that I wanted to add (Activity in this case). Then I added a Button Free which I called Add New item and it opened form to add a value.
But perhaps another way to accomplish this task is to do something like this:
- Add hidden text fields that actually store your values.
- Set these fields using the Cascade Dynamic fields (storage none) using onchange conditionals.
- Use a check box for Adding New Values (storage none).
- On the checkbox set conditionals to hide the Cascade fields and show the hidden text fields. This way the user can add values directly to the fields.
There may be a couple of issues with this method.
When you set the fields with the Cascade Dynamic, I think it copies the index instead of the text value. That is where the
Get Text From Select Dynamic is needed.
Also when you go to edit the form, the Cascade Dynamic values will not be set, so you need set them by doing the reverse of the Get Text From Select Dynamic.
Hope that make sense...
Randy