- This topic has 23 replies, 3 voices, and was last updated 7 years, 5 months ago by Ognen.
-
AuthorPosts
-
Alessio BalduiniParticipant
Hello Pro2Pdf team!
I have a small problem with the paid version of your plugin.
I got 2 forms that are populating the same pdf document (separate versions to create the pdf, not interconnected).For the 1st form it works great, I press the Attach to email checkbox and that’s it!
On the 2nd form if I just press the Attach to email checkbox I get an email with the form input but NO PDF!
If I check the Notify Email checkbox I recieve the PDF in the email, but I lose many of the recepients, I get just 1 email on 1 address instead of 3.What do you think is the problem?
Please I need a fast reply 🙂adminKeymasterIf possible, complete this form and we’ll take a look to quickly troubleshoot the issue. If not possible, then please provide a screenshot of the Form #2’s “Email Notification” page and a screenshot of the PRO2PDF field map layout screen with Form #2 and the field map layout selected. And, provide answers to the following;
. How many field map layouts exist for Form #2? (Check for test, abandoned, or incomplete layouts if any exist, delete the layout(s) or disable the email attachment option)
. Clarify (expand on) your statement “If I check the Notify Email checkbox I recieve[sic] the PDF in the email, but I lose many of the recepients[sic], I get just 1 email on 1 address instead of 3.”
. Regarding workflow and the original PDF Form, how is Form #1 related to Form #2?We remain at your service.
Alessio BalduiniParticipantPlease help
Alessio BalduiniParticipantThank you for the support!
I managed to work around my problem, 1st form has not selected the Email Notification checkbox (only Attach Email = YES), the 2nd form has YES, plus the checkbox. Like this it sends the email to all recipients and the pdf is attached.Alessio BalduiniParticipantI also want to provide the possibility for Download button right after Submit.
I insert this On Submit message:
[if 165 not_equal=”][formidable-download form=’42dtg’ dataset=[id] layout=’17’ inline=’1′ flatten=’yes’][/if 165]With inline=’1′ or download=’auto’ (no matter flatten=”yes”) I get the same error when I try to view the pdf: Failed to load PDF document (RELOAD)
- This reply was modified 7 years, 5 months ago by Alessio Balduini.
- This reply was modified 7 years, 5 months ago by Alessio Balduini.
Alessio BalduiniParticipantI managed to solve my other problem as well!
Sorry for the Posts but there was an Error and I had to divide and conquer it 😀Thank you, All the best!
Alessio BalduiniParticipantBy adding just [formidable-download form=”42dtg” dataset=[id] layout=”18″ download=”auto”] in the On Submit of my form I am able to download automatically and by pressing the Download button.
The only problem is when I test this feature using Google Chrome, it starts the download action but quickly redirects back to the Form. On my other Browsers works just fine.
How do I solve this issue for Google Chrome?
Thank you in advance.
adminKeymasterHow documents are opened in Chrome is a browser setting, not a feature of PRO2PDF.
See more here.
We remain at your service.
OgnenGuestI don’t believe you understood my question.
I have an automatic download button on my website, 90% of my clients use Google Chrome,
and the “Download” button and auto download feature do not work there!In conclusion many of my clients are not able to use the feature you provide,
I tested on other browsers and it works just fine for both features.How do I adapt to this issue?
adminKeymasterThe automatic download function works perfectly with the Chrome browsers, copy/paste your shortcode here and a link to your form, if possible, for further review.
We remain at your service.
OgnenGuestHere is my code:
[formidable-download form=”42dtg” dataset=[id] layout=”18″ download=”auto”]Since it was working with all the other browsers I thought it is a bug.
What do you suggest?OgnenGuestOgnenGuestWhen I press the Download button, the chrome error is that it first activates the function on:
http://creditpassport.com.gridhosted.co.uk/wp-admin/admin-ajax.php?action=wpfx_generate&form=42dtg&dataset=362&layout=18&download=auto&key=235359fe6772962eb4f13ed5c80833bfBut afterwards is redirecting back to the Form Link above.
adminKeymasterWhat is the correct format for these fields?
1
Provincia del Luogo di Nascita *Provincia del Luogo di Nascita is invalid
Stato del del Luogo di Nascita *2
Provincia del Comune di Residenza *Provincia del Comune di Residenza is invalid
Stato del Comune di Residenza *3
Numero di telefono per eventuali comunicazioni *Numero di telefono per eventuali comunicazioni is invalid
OgnenGuestProvincia both fields are 2 Capital Letters, example: FE
Number is 8-12 digits acceptable I believe: 9999999999adminKeymasterIt appears your site has redirect or security plugin(s) that is preventing PRO2PDF from resolving the PDF download link. We are unable to access the dashboard to troubleshoot any further. Try adding inline=1 to the end of your shortcode and remove the download=”auto” parameter.
This is not an issue we have seen since the release of the plugin 2 1/2 years ago.
Complete this form if you would like us to troubleshoot your server/installation issue.
We remain at your service.
adminKeymasterTry disabling all plugins except the Formidable plugins, if all works as expected then add the plugins back one-by-one and test until you find the plugin causing the redirect. Let us know the result.
We remain at your service.
OgnenGuestIt works great, thank you!
Is it possible to use the 2 features together?
Inline and auto download?adminKeymasterNo, inline does not “auto download” and visa-versa… specifically, inline forces the document to open on a new tab. You can have two shortcodes in the on submit message box, one for the user to click and another to auto download.
However, it still appears your WP install has an issue with redirecting when the auto download parameter is used.
We remain at your service.
OgnenGuestI tried what you proposed, disabling and enabling the plugins.
Do you have any other suggestion? Because it had no effect.
I have the following code in functions.php of my theme, maybe you think it is problematic:// Block Access to /wp-admin for non admins.
function custom_blockusers_init() {
if ( is_user_logged_in() && is_admin() && !current_user_can( ‘administrator’ ) ) {
wp_redirect( ‘http://creditpassport.com.gridhosted.co.uk/manual-access/’ ); //http://creditpassport.com.gridhosted.co.uk/company-access/
exit;
}
}
add_action( ‘init’, ‘custom_blockusers_init’ ); // Hook into ‘init’OgnenGuestI commented this code and the chrome function works perfectly.
Do you have any suggestion about how to modify it so I can keep both features?
OgnenGuestThe code is a simple redirect that doesn’t allow non-admin Users to access the dashboard.
OgnenGuestPlease help me with this issue, I am still stuck debuging.
The code I provided is the problematic part, maybe you know a different way to navigate from the log in directly to a website, without accessing wp-admin page.
Or some if/else statement that will remove the Chrome Download btn Redirect?
Thank you.
OgnenGuestFixed it by replacing my custom redirect code with a plugin that does the same thing.
Thank you guys. -
AuthorPosts