Home › Forums › Quform WordPress › Filter Tables
- This topic has 6 replies, 2 voices, and was last updated 10 years, 11 months ago by
ronisdom.
- AuthorPosts
- September 18, 2014 at 9:20 am #12490
ronisdom
ParticipantHi,
I have a large amount of forms in multiple languages – is there any way I can arrange the tables my ID or name?
Is this something that would be quick to create. It’s a small change I know but would make my life 1000 times easier.
Hope you can help.
September 22, 2014 at 11:12 am #12530Ally
Support StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
September 22, 2014 at 11:46 am #12539ronisdom
ParticipantHi Ally
Yes I am using the latest version. My problem is that I am creating forms in 3 languages so the title names start either EN – FR – DE. I need a way of been able to filter the titles so I can arrange them alphabetically.
Is there any way this is possible? It would be a huge help as I have over 50 forms.
Thank you
September 22, 2014 at 12:45 pm #12546Ally
Support StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
September 22, 2014 at 1:50 pm #12549ronisdom
ParticipantHi,
Thank you for your quick reply but unfortunately when I add the code into the specified area it breaks my wordpress site completely.
$active = isset($_GET['active']) ? absint($_GET['active']) : null;
$forms = iphorm_get_all_form_rows($active);if (count($forms)) {
$tmp = array();
foreach ($forms as $tmpRow) {
$tmpConfig = unserialize($tmpRow->config);
$tmp[$tmpConfig['name']] = $tmpRow;
}
uksort($tmp, 'strcasecmp');
$forms = $tmp;
}include IPHORM_ADMIN_INCLUDES_DIR . '/forms.php';
}add_action('auth_redirect', 'iphorm_preview');
/**
* Hook for previewing a formAny ideas why this isn’t working?
Thank you
September 22, 2014 at 2:43 pm #12550Ally
Support StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
September 22, 2014 at 2:47 pm #12551ronisdom
ParticipantThanks for this, not sure what had happened there but it’s working now.
Much appreciated
- AuthorPosts
- You must be logged in to reply to this topic.