विवरण
Plugin for Contact Form 7: adds a field for an unique submission id.
You can choose to include a hidden or an visible field to your form.
This field will be automatically filled with an number which is incremented on every submission.
Usage
Just add the field to your form.
You can filter the value using the cf7_submission_id_filter.
To add leading zeros for example, just put the code below in your functions.php
add_filter('cf7_submission_id_filter', 'custom_cf7_submission_id_filter');
function custom_cf7_submission_id_filter($val){
return sprintf("%04d", $val);
}
स्क्रिनसटहरू
स्थापना
Installing UniqueID for Contact Form 7 can be done either by searching for “UniqueID for Contact Form 7” via the “Plugins > Add New” screen in your WordPress dashboard, or by using the following steps:
- Download the plugin via WordPress.org.
- Upload the ZIP file through the “Plugins > Add New > Upload” screen in your WordPress dashboard.
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Visit the settings screen and configure, as desired.
समीक्षाहरू
योगदानकर्ता र डेभलपरहरू
“UniqueID for Contact Form 7” खुला स्रोत सफ्टवेयर हो। निम्न व्यक्तिहरूले यो प्लगिनमा योगदान गरेका छन्।
योगदानकर्ताहरू“UniqueID for Contact Form 7” लाई आफ्नो भाषामा अनुवाद गर्नुहोस्
विकासमा रुचि छ?
आरएसएस द्वारा कोड ब्राउज गर्नुहोस्, एसभीएन रिपजिटरी हेर्नुहोस्, वा विकास लग को सदस्यता लिनुहोस्।
चेन्जलग
2.4.0
- Not dependent on jQuery anymore
- Only increments on success
2.3.0
- Bugfix when submitting multiple forms at the same time
- Added the cf7_submission_id_filter
2.2.5
- only load js when needed
2.2.1
- bugfix when no id field in contact form
2.2.0
- Bug fix to take initial value into account
2.1.0
- Bug fix to be compatible with CF7 5.2 and higher
2.0.1
- Bug fix for new forms
2.0.0
- Only update id on succesfull form submission, not on reload of the screen
- BREAKING CHANGE: name should contain “submission_id”
1.4.0
- No reload of the page needed anymore, refresh is done via AJAX
1.3.0
- Wait 5 deconds instead of 3 before reloading the page
1.2.2
- Small bufix
1.2.1
- Small bufix
1.2.0
- Added a 3 seconds delay before the auto-reload takes place
1.1.0
- Fixed bug where page is not reloaded when field is renamed.
1.0.0
- Initial release