zaus
Forum Replies Created
-
Ah, I understand. I’ll clarify that in the next update.
Forum: Plugins
In reply to: [Forms: 3rd-Party Integration] Using hooks for XML responsejson_decodeIt is in the FAQ section of the plugin page:
I need to submit multiple values as…
By default, if more than one value appears in the post request for the same field/key, they will be joined by the ‘separator’ value like &post-values=a,b,c.
Not sure why you’re not seeing emails any more, but that sounds like something broke. You’ll either have to try turning off plugins one by one (if it’s a conflict), or if you can enable WP_DEBUG it should tell you the error in the log file. Or it could just be that it’s taking some time for the email to show up from your provider.
Forum: Plugins
In reply to: [Forms: 3rd-Party Integration] Any way to duplicate a Service?Assuming resolved.
Forum: Plugins
In reply to: [Forms: 3rd-Party Integration] only posting data if “is Value” is checkedYou’d need to post the full debug email to be of use, but you’re probably just not mapping to the correct field names. Check the sticky post in this forum and the FAQ for more details.
Forum: Plugins
In reply to: [Forms: 3rd-Party Integration] Using hooks for XML responseThere’s an example of a hook to change the form message in the FAQ under “How do I show a custom message on the confirmation screen?”, and I wrote another plugin that can interpret an xml response and inject it in the submission.
https://wordpress.org/plugins/forms-3rd-party-inject-results/
Maybe that will point you in the right direction?
Forum: Plugins
In reply to: [Forms: 3rd-Party Integration] already defined constructorThat sounds like the old version of this plugin, like years old, completely separate page. Are you sure you’re using this one?
Forum: Plugins
In reply to: [Forms: 3rd-Party Integration] Different than Zapier??I don’t know, haven’t used zapier. From the little I read it’s very similar.
Forum: Plugins
In reply to: [Forms: 3rd-Party Integration] Capitalize name to CRMText-transform is just a visual change in css and isn’t provided to the server on the form post. Has nothing to do with my plugin.
You need to write a hook to manipulate the submission data. I just released a plugin “Submission Reformat” https://wordpress.org/plugins/forms-3rdparty-submission-reformat/ which might help. It has an
uppertransform, but it’s for the entire value rather than just the first letter. It would be pretty easy to add another transform fortitleizein that plugin; you can do that for your local plugin copy and submit a pull request for when I have a chance to add that feature to the plugin.Forum: Plugins
In reply to: [Forms: 3rd-Party Integration] Contact Form 7 & EmailThe point of my plugin is to work with cf7, so unless there was a recent breaking change in cf7 it’s likely a configuration issue. Please read the sticky post about debugging.
Forum: Plugins
In reply to: [Forms: 3rd-Party Integration] Urgent problemSorry for the delay — do you mean when you save the admin page of my plugin? I’m going to guess that you have a lot of services/mappings set up and something recently changed the wp-options table length limit, so it’s truncating the serialized data.
If that’s the case there’s not much to do other than rewrite how my plugin saves its settings (which I’ve been meaning to do for v2), but you might be able to consolidate multiple services and/or reduce the number of mappings?
I just replied on the Github ticket, but TL;DR: it sounds to me more like an edge case, and there should be enough hooks to let you automatically handle the desired outcome if your workaround is too hacky or confusing. If you need help writing that plugin let me know.
Thank you for sharing your solution though, I hope it does help others.
The hook
...remote_successwill let you use/update the$formwith access to the response. If you can follow the hooks/callbacks through you can see how I do this to include response values in the CF7 email at:
* https://github.com/zaus/forms-3rdparty-integration/blob/master/plugins/contactform7.php#L91
* https://github.com/zaus/forms-3rdparty-integration/blob/master/plugins/fplugin_base.php#L247
* https://github.com/zaus/forms-3rdparty-integration/blob/master/plugins/fplugin_base.php#L204Forum: Plugins
In reply to: [Forms: 3rd-Party Integration] integrating with contact form 7Yes of course it works with CF7. The plugin was originally called “Contact-Form 7: 3rd-Party Integration” 🙂
@mstudioil — what’s not clear about the FAQ ‘How do I add / configure a service?’ or screenshots or the sticky post? I ask not sarcastically but to improve their content.
If you make CF7 fields like
[select myselectfield ...]and[email myemailfield]and[text field-23]then you map those fieldsmyselectfieldandmyemailfieldandfield-23(whatever you’ve named them) to whatever you want to send them as.Your best bet is to just create an empty service, attach it to your form, turn on ‘debug mode’, and make a submission. Then from the debug email you’ll get pick out the “Submission” fields you want to map.
Or is your question more about how to map it with your specific service?
Forum: Plugins
In reply to: [Forms: 3rd-Party Integration] integrating with contact form 7