You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
I have set up a dynamic form within K9 for our Wholesale Application that we would like to use instead of the PDF form in there now. Where can we change the link and can we link it in a way that it will pull up the dynamic form ID regardless of which multisite it's accessed from? If the change for just using the dynamic form ID in the link is a big deal we could clone it for each multisite but need to know where this link exists. I've had no luck finding it so far. Thanks
Offline
Step 1: Make a copy of {private}/core/CORE/includes/wholesaleapp.php and save it to {private}/custom/core/CORE/includes/wholesaleapp.php.
Step 2: Edit your custom version of the file and replace the PDF link with the link to your form.
Offline
I've copied the file over to the custom directory. How would I link this so that regardless of which multisite they are on it will open the link within the same site? Does this require a full URL link or can we link it depending on which site they are on? By the way, its a dynamic form within K9 that is being linked.
<div class="kmenu"><ul> <li><a href="media/core/pdf/<?php print $apply_pdf; ?>" title="Wholesale Application" rel="external">Click Here to Downoad the Wholesale Application (PDF)</a></li> </ul></div>
Offline
The URL as it is now (relative media directory reference) will use the active domain. This will work to use different (correct) URLs all pointing to the same file. If you have different files for each site, let me know.
Offline
The link works great on all multisites. It seems the dynamic forms aren't arriving in email when testing however.
Is there a place that logs the form once submitted and email settings I can look at to make sure the dynamic forms are sending upon submit? I have tested the Contact Us pages and everything seems to be working fine but unsure about the dynamic forms.
Offline
Two things could be affecting this:
(1) For the main site, update your form using Website / Dynamic Forms / Dynamic Forms, and ensure you have at least one valid recipient email address for the main site listed under 'To Email Addresses'.
(2) For multisites, ensure that you have email address overrides set properly for those recipient addresses under System / MultiSite / MultiSite Sites for each multisite.
Also, some mail subsystems are going to have trouble sending you a mail from the customer email address - so in today's world, it's best practice to NOT set the 'Email Field Indicator' on the email address field for your form(s). That will force the form to be sent using the site owner email instead of the user submitting the forum. This applies for store versions up to 9.3.
Please note that in release 9.4 we have changed the way mails are sent and we're sending always using an address for the site, and using a reply-to header for the customer email. This is working well in dev and we expect the release to launch ASAP.
Offline
I removed the 'Email Field Indicator' on the email address field for the form and now we are receiving emails however they aren't hitting our INBOX but are showing up in the SENT box instead. I've been trying to do some workarounds to make the emails go to my INBOX without success. The system emails for orders placed by customers in K9 are always sent from the customer's email without any issues. Is there a difference on how the emails from submitted forms work versus when we get order notifications for orders and changes which also use the customer's email?
Offline
If you're always receiving customer emails and the mails are addressed from the customer, then you are OK setting the email field indicator for the email address field. How do you have your mail hooked into K9? Are you logging in using a mail account via SMTP (sounds like this is the case)? Or just doing a localhost SMTP connection with no authentication?
Offline
I changed the setting to turn off authentication and activated email field indicator for the email field again but doesn’t seemed to have made any difference. The email settings appear to be global and work for all other functions except dynamic forms for some reason. Dynamic forms is the only function that doesn’t send me the email using the customer’s email address but always shows the system email default. Is there another setting I may have missed that affects dynamic forms so that they behave the same way other system emails do? Thanks 😊
Offline
The mail is dynamically created based on the form setup. The main parameters are set up in the form definition using the Mail Message tab under Website / Dynamic Forms / Dynamic Forms. Make sure you have those fields entered properly - including a valid 'to' email address. Then you can override the 'from' address you set there by designating one field entered by the customer as an email field (using Website / Dynamic Forms / Dynamic Form Fields).
Offline
I wound up changing the Override From Address in system Mail Settings back to FALSE and think it's working now. I thought this is where we started but will keep testing it to see if the issue is resolved now. Thank you
Offline
Thank you. Was it just a config issue on your side, or do you thing settings are conflicting within the software? I'm not sure of exactly what your setup was, and if mail was being sent somewhere (just not where you were checking).
Offline
We weren't getting emails sent from the Dynamic Forms when we started. I'm not sure where they went and not sure if it was a configuration setting or a software code conflict. Everything is set back to the way it was before and seems to be working. Here is what I remember of the settings changes while trying to diagnose the form...
1. Changed 'Email Indicator Field' to false.
2. Removed Captcha option.
3. Changed system Mail Settings for Override from Email to TRUE to not check for email origin security.
4. Reviewed settings and tested all of our other dynamic forms to see if the issue might be form related or global. It seems like the "from" email address was site owner every time which sort of was a secondary issue after changing the system mail Override from Email settings to TRUE.
5. After changing settings back one at a time of the course of a few days while testing everything appeared to be working after changing the Override from Email Address back to FALSE.
There may have been some other things we tried that don't come to mind right now. Should we debug to check the dynamic forms function on our sites?
I doubt having multisites has anything to do with it but you're the "Most Excellent Guru" so I'll trust your judgement on this.
Offline