I am getting close but need a little help.
http://www.ecboces.org/index.php?option=com_chronoforms5&chronoform=ClassRequests
Working with the multiplier container but must be missing something. Issues I am having:
1. A bug I think that you cannot drag existing form events to Multiplier Container. You can only drag new events into a container.
2. Because I have it set for Chronoforms to auto number the extra entries, I am now having my dropdown list of times auto increase with each multiplier event.
3. My email is only receiving one entry. I obviously am not processing the arrays somehow.
4. Nothing seems to be getting to the database.
Would appreciate any help. I have attached the form.
http://www.ecboces.org/index.php?option=com_chronoforms5&chronoform=ClassRequests
Working with the multiplier container but must be missing something. Issues I am having:
1. A bug I think that you cannot drag existing form events to Multiplier Container. You can only drag new events into a container.
2. Because I have it set for Chronoforms to auto number the extra entries, I am now having my dropdown list of times auto increase with each multiplier event.
3. My email is only receiving one entry. I obviously am not processing the arrays somehow.
4. Nothing seems to be getting to the database.
Would appreciate any help. I have attached the form.
Hi Emma,
In the main Multiplier container you have left 0 as the 'Replacer'. The multipler does a simple search and replace so is replacing each 0 in the multipler elements, Please try using __N__ as suggested or ##n## or something else that doesn't occur anywhere else. Then edit the element names and ids to use this instead of 0 e.g district_##n##
You can't drag and drop elements between containers but you can copy and paste them from one container to another - and then delete the old one.
The remaining problems may be fixed if you change the Replacer. If not, post again and we'll look some more.
Bob
In the main Multiplier container you have left 0 as the 'Replacer'. The multipler does a simple search and replace so is replacing each 0 in the multipler elements, Please try using __N__ as suggested or ##n## or something else that doesn't occur anywhere else. Then edit the element names and ids to use this instead of 0 e.g district_##n##
You can't drag and drop elements between containers but you can copy and paste them from one container to another - and then delete the old one.
The remaining problems may be fixed if you change the Replacer. If not, post again and we'll look some more.
Bob
Getting closer.
I used ##n## as the multiplier and added _##n## to the field (is this the correct format - do I only need the underspace in the field id area?). That fixed the starttime field and stopped it from auto counting.
I then looked at the database save settings and found that when I turn off Multi Save, it will now save a single record.
The debugger only shows that the form is sending a single entry to the database so I must still be missing a vital step...
I used ##n## as the multiplier and added _##n## to the field (is this the correct format - do I only need the underspace in the field id area?). That fixed the starttime field and stopped it from auto counting.
I then looked at the database save settings and found that when I turn off Multi Save, it will now save a single record.
The debugger only shows that the form is sending a single entry to the database so I must still be missing a vital step...
Much closer now. I added an array handler - let the values at default. Played around with the database settings - back to default ones...
I am now getting an email and a database save with all info in it.
However, the multiplier is combining the multiple entries into one field value, separated by commas. I was hoping/expecting a new entry for each time the multiplier is used. Is there a way to do this?
I am now getting an email and a database save with all info in it.
However, the multiplier is combining the multiple entries into one field value, separated by commas. I was hoping/expecting a new entry for each time the multiplier is used. Is there a way to do this?
Here is my latest version. If I take out the array handler, I get an error and the form will not work. Would appreciate any help...
This topic is locked and no more replies can be posted.