I am trying to use the get_cforms_entries() API call in a template script. While sorting in ascending order seems to work, sorting in descending order does not. I have added logic to sort the array of entries returned by the API call in the template iteself, but it would be nice if this worked as described.
Also, the documentation for the API call which is viewable here: /wp-admin/admin.php?page=cforms/cforms-help.php#hook is incorrect; it says that a form can be selected by name when it is actually selectable by form id. I initially tried to use the value that the API returned in the "name" column to pass to the function, but that did nothing; I made one last attempt using the id and that worked, so maybe updating the help page might save someone else some time.
Most Users Ever Online: 959
Currently Browsing this Page:
Guest Posters: 3745
Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass
Moderators: Paul (421), cnymike (8), sonika (95)
Administrators: Oliver (6400), Nicky (3)