• Resolved vsasolutions

    (@vsasolutions)


    I installed the plugin and have targeted a table to print. You select the product from the select drop down and an image populates above the drop down. When I print the images come over but the select shows the reset value. What am I missing?

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor twinpictures

    (@twinpictures)

    Dashboard > Settings > Print-O-Matic > Activate jQuery fix.clone

    Activate if textbox or select elements are not printing.
    Addresses known bug with textbox and select elements when using the jQuery clone function. jquery.fix.clone on github.com

    Thread Starter vsasolutions

    (@vsasolutions)

    Thanks, I did that and still have the issue. http://nb.vsasolutions.com/planogram-builder-4/ is a simple form with simple select. Do I need to do something else other than activating it?

    Plugin Contributor twinpictures

    (@twinpictures)

    Hmmm…
    This is how it should be working, so something else is going on.
    Have you tried troubleshooting your site to see if there is a plugin or theme conflict (turn on and off plugins and revert to a twenty-something theme).

    Thread Starter vsasolutions

    (@vsasolutions)

    I assume its a conflict with something that was coded in the header/footer of this old site. I utilized a blank page template with no header and footer and works like a champ. Thanks.

    Plugin Contributor twinpictures

    (@twinpictures)

    Good speed on your troubleshooting endeavors.
    We’ll mark the issue as resolved.
    Open another thread if you have any further issues you need assistance with.

    Thread Starter vsasolutions

    (@vsasolutions)

    Actually, I found the conflict. Maybe you can guide me. So with this being WordPress a lot is put into the header.

    I need to use this code for swapping my images https://codepen.io/joshwentz/pen/jEKVoz

    If I don’t include `<script src=”https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js”></script&gt;

    Then my image swap doesn’t work. If I do include it then the fix does not appear to work for the select fields.

    I am sure its a conflict between the two different jquery. Any ideas?

    http://nb.vsasolutions.com/planogram-builder-4/ has that extra script inserted into the body portion. I appreciate the help.

    Plugin Contributor twinpictures

    (@twinpictures)

    sure.
    First, jQuery is automatically loaded or enqueued in WordPress, so you should not be brute-force loading another jQuery library, especially such an outdated one.

    Second, using the onChange event is not a good coding practice. Better to assign a unique class or ID and use jQuery’s .change handler. There is an example in that link.

    Finally, WordPress does not define $ by default, so better use jQuery instead. See this link for more info.

    Hope that helps!

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Select Fields Value Missing’ is closed to new replies.