Hi
I am struggling with Double drop-down with Ajax. Can you point me to a V4 demo form and/or clarify something for me, please? I have been following Bob's FAQ without success (is that 'x' in Extra Options still needed?)
From a single table I need to extract a list of office staff who have accepted membership applications and the dates on which they accepted applications. Then, on submit, the form needs to list the receipts for the selected office member and date again from the same table.
To do that I
[list]Add a drop down control - njjoidinpReceivedBy - that will hold a list of office staff[/list]
[list]Add a drop down control - njjoidinpReceivedOn- that will hold a list of the dates on which the office staff accepted an application[/list]
[list]In the on load event add a multi record control to load a list of office staff (select distinct `payReceivedBy`_ who have received applications. That successfully loads the drop down njjoidinpReceivedBy[/list]
[list]In the on load event add a Dynamic drop down that references an event ajaxGetReceivedBy, passing the id of the two controls njjoidinpReceivedBy & njjoidinpReceivedOn, and enabling AJAX[/list]
[list]Added a new event named ajaxGetReceivedBy[/list]
[list]In that event, ajaxGetReceivedBy, added a Multi record action using the key 'payReceivedBy' as the DB Field from the on load control[/list]
Is that broadly correct? That latter step should select a list of dates for the specific office staff. I can't seem to get any data out from that event. How do I know if that ajaxGetReceivedBy event has fired? should debug show some information there? It doesn't!
Just about stuck!๐ถ :mrgreen:
Regards
Nick
I am struggling with Double drop-down with Ajax. Can you point me to a V4 demo form and/or clarify something for me, please? I have been following Bob's FAQ without success (is that 'x' in Extra Options still needed?)
From a single table I need to extract a list of office staff who have accepted membership applications and the dates on which they accepted applications. Then, on submit, the form needs to list the receipts for the selected office member and date again from the same table.
To do that I
[list]Add a drop down control - njjoidinpReceivedBy - that will hold a list of office staff[/list]
[list]Add a drop down control - njjoidinpReceivedOn- that will hold a list of the dates on which the office staff accepted an application[/list]
[list]In the on load event add a multi record control to load a list of office staff (select distinct `payReceivedBy`_ who have received applications. That successfully loads the drop down njjoidinpReceivedBy[/list]
[list]In the on load event add a Dynamic drop down that references an event ajaxGetReceivedBy, passing the id of the two controls njjoidinpReceivedBy & njjoidinpReceivedOn, and enabling AJAX[/list]
[list]Added a new event named ajaxGetReceivedBy[/list]
[list]In that event, ajaxGetReceivedBy, added a Multi record action using the key 'payReceivedBy' as the DB Field from the on load control[/list]
Is that broadly correct? That latter step should select a list of dates for the specific office staff. I can't seem to get any data out from that event. How do I know if that ajaxGetReceivedBy event has fired? should debug show some information there? It doesn't!
Just about stuck!๐ถ :mrgreen:
Regards
Nick
Hello NickOg,
I'm not a Chrono professional, but after checking your new post, I think that the following links may help:
How can I add a simple Double Drop-Down without Ajax?
P.S: I'm just an automated service๐
I'm not a Chrono professional, but after checking your new post, I think that the following links may help:
How can I add a simple Double Drop-Down without Ajax?
P.S: I'm just an automated service๐
Maybe these images will show where I am stuck and what i have done. ๐
[attachment=0]DD01.jpg[/attachment]
[attachment=1]DD02.jpg[/attachment]
[attachment=2]DD03.jpg[/attachment]
[attachment=0]DD01.jpg[/attachment]
[attachment=1]DD02.jpg[/attachment]
[attachment=2]DD03.jpg[/attachment]
Hi Nick,
v5 has a demo form included, why not use it for this form only ? you can install v5 on the same site and use it for this form. and keep other forms working on v4.
Regards,
Max
v5 has a demo form included, why not use it for this form only ? you can install v5 on the same site and use it for this form. and keep other forms working on v4.
Regards,
Max
This topic is locked and no more replies can be posted.