We are using CCv6 to poll for new entries in a database table.
Is there a way to re-run a CCv6 function every 5 minutes (without refreshing page) for example?
I know there's the setInterval jQuery function, but how do I use it to call a CCv6 function?
Is there a way to re-run a CCv6 function every 5 minutes (without refreshing page) for example?
I know there's the setInterval jQuery function, but how do I use it to call a CCv6 function?
Hi webbusteruk ,
I'm not clear what you need to do here. If it is to run PHP code on the server then you can use a 'cron' job to call a form event.
Bob
I'm not clear what you need to do here. If it is to run PHP code on the server then you can use a 'cron' job to call a form event.
Bob
It's alright, found healy's reply in another thread.
In our connection's functions list, there's a read_data function that we use to check for new entries. I know we can just write that in php but I was wondering if CCv6 allows us to use AJAX POST/GET with CCv6 functions.
Apparently we can use jQuery AJAX to send data to the URL ?conn=connectionname&event=eventalias&tvout=view and use the response.
In our connection's functions list, there's a read_data function that we use to check for new entries. I know we can just write that in php but I was wondering if CCv6 allows us to use AJAX POST/GET with CCv6 functions.
Apparently we can use jQuery AJAX to send data to the URL ?conn=connectionname&event=eventalias&tvout=view and use the response.
This topic is locked and no more replies can be posted.
