- OLNCMYWebAsked on September 25, 2014 at 02:39 PM
When I embed a form into a wordpress page the conditions do not work. When I "preview" the form in the form building section, they do. When I "preview" the form in the embedding options they don't work.
The wordpress embed code doesn't work with conditions.
The direct link, http://form.jotformpro.com/form/41415758071959, does.
Is there anyway to fix this so I'm not stuck putting this particular form into an iframe fancy box?
Update: I just embedded the iframe code and the form appears to be working properly. It's not ideal, but it works for now. I'd rather just embed the form.
- JotForm SupportsteveAnswered on September 25, 2014 at 07:00 PM
I'll update this ticket with what I find.
- JotForm SupportsteveAnswered on September 25, 2014 at 08:15 PM
I looked into this more. First I tried to recreate the issue in a separate form. I added a form with conditions to a WordPress site, and it worked as expected.
Next I cloned your form and tried to embed it. It didn't work. Upon closer inspection I see some oddities with your form. It appears some fields aren't being displayed correctly, or are corrupted somehow.
Here's are these elements in the form builder in a separate form, for comparison:
Note that Pages can now be labeled so it's much easier to target them via conditions:
I'm not sure if that's what's causing the issue, but I'll raise this to development to take a closer look. The display within the form builder shouldn't be cut off.
- OLNCMYWebAnswered on September 25, 2014 at 11:09 PM
Thank you for such a quick response.
This form is a clone that was made forever ago. I don't know if that has anything to do with it or not.
I saw the cut off text working in the form today and wrote if off not knowing what it was supposed to be.
Yes, something is very wrong with the form. I removed all page breaks and re-inserted them and that didn't fix the problem.
All I can say is, rebuilding this form from ground up isn't going to be fun and it will be VERY time consuming to do.
If you have any suggestions on how I can avoid getting knee deep, I'd love to hear it.
- JotForm SupportsteveAnswered on September 25, 2014 at 11:14 PM
Unfortunately I think rebuilding the form from scratch may be the preferred course. Our developers may find some of the issues, but there may be others that continue to cause unexpected side effects. Fortunately, I don't think this situation has occurred very frequently.
Thanks for your patience, and let us know if you run into issues with the new form.
- OLNCMYWebAnswered on September 25, 2014 at 11:16 PM
I just found the problem...how the box gets cut off....It's jotform theme related. My form is set with default theme. Change the theme to any other one and the "Page" number appears.
- OLNCMYWebAnswered on September 25, 2014 at 11:23 PM
Same thing on the new form I just started. I narrowed it down a bit more. When you create a new form the "page" text isn't cut off. So to duplicate the problem, add only a page break, then switch themes, ending back at default. You will see the text is cut off.
- JotForm SupportsteveAnswered on September 25, 2014 at 11:25 PM
OK. Thank you for helping to isolate the issue. The next question is whether this issue is also causing the form not to embed in WP. I'm on a different computer now. Do you have the ability to check that and report back?
- OLNCMYWebAnswered on September 25, 2014 at 11:35 PM
Sure. Give me a couple of mins.
- OLNCMYWebAnswered on September 25, 2014 at 11:50 PM
Ok, I have 7 headings in my old form. When I remove all the page breaks, 4 of the headings with associated fields disappear. I do have form collapses in those areas but I don't recall having any pagination conditions except for the very first one.
Using a new form...the embed works fine, with and without pagination, bottom of the pagination cut off too.
This links to my old cloned form that is having problems. I've taken out all page breaks. This is what's left.
This is the new form I started.
- JotForm SupportsteveAnswered on September 26, 2014 at 12:02 AM
OK. This ticket is currently written up for the issue with the default theme. We'll update this thread once that's resolved. If I understand this correctly it sounds like the best way to get this working is with a new form. We apologize for the inconvenience, and thank you again for helping to debug this issue.
Let us know if you have further questions.
- OLNCMYWebAnswered on September 26, 2014 at 06:32 AM
I found the problem or a problem -- I ran into it remaking the form.
At this point I do not have any conditions set in my new form, but I suspect my initial complaint is related to my findings now.
Along with the conditions of the first page when I first submitted a tech ticket, the pagination wasn't working either. I now know this because I remember seeing both the "back" and "next" buttons on that page. When things are working properly, the "back" button is hidden.
There is a compatibility issue with file upload > allow multiple, and form widgets -- 2 that I know of; Configurable Lists by Jotform and Matrix Dynamique by alp_deniz
I'll try to explain the best I can using the images I've attached to this message. If they do not come through, or are difficult to view, please let me know and I will put them on my server and provide you with links.
Look at the images -- You will understand what this means after you see them -- I added a set of conditions, including 1 for the page break, when allowing multiple, 9 out of the 10 times I refreshed and emptied my cache the conditions worked. 1 time they did not like my initial complaint.
All the components, file upload > allow multiple, pagination, and conditions worked as expected, when the page break was a part of the condition. Once I removed the page break from the condition, nothing worked, 10 out of 10 times.
When I separated the widget from the file upload > allow multiple with the page break everything worked again. When I shut "allow multiple" off and repositioned it under the widget and file upload, everything worked.
Hope this points you in the right direction for a fix. Guess it's not my theme, but my original form is still screwed, I think.
- JotForm FounderaytekinAnswered on September 26, 2014 at 08:05 AM
Are you using one of one of the wordpress plugins for JotForm? Knowing which plugin you are using would be very helpful for our developers to fix the issue.
- OLNCMYWebAnswered on September 26, 2014 at 11:18 AM
No plugins. Just straight out of the box jotform.com and copy/paste.
- JotForm SupportdavidAnswered on September 26, 2014 at 12:26 PM
Thank you for the update. Our development team is still looking into this and will let you know as soon as we have any further information. Thank you very much for your patience.
- JotForm SupportsteveAnswered on September 29, 2014 at 02:56 PM
Wanted to let you know of an exciting new development for JotForm. It can now be integrated directly with WordPress with the embed tag. Please see this link for more details and let us know if you have any questions.
I don't expect this solution will solve the current issue with your form, but wanted to make sure you're aware the easiest way to embed JotForms in WP.
*Update* I just realized you are most likely using a custom install of WP. This announcement is for wordpress.com site.