• Resolved gsugapong

    (@gsugapong)


    I have followed all the suggestions from the support forum but none of them seemed to work. I also did the pipe method but not working. I am not sure if I had done it wrong.

    This is the link to the webpage:
    https://www.cornerkeystone.com/daily-construction-report/
    PW: 1234

    This is my html code in the CF7:

    Day: [checkbox monday use_label_element exclusive “Mon”] [checkbox tuesday use_label_element exclusive “Tue”] [checkbox wed use_label_element exclusive “Wed”] [checkbox thur use_label_element exclusive “Thu”] [checkbox wed label_element exclusive “Fri”] [checkbox sat use_label_element exclusive “Sat”] [checkbox sun use_label_element exclusive “Sun”]

    Each tag were mapped to its respective checkbox field in the pdf.
    Refer to the screenshot: https://prntscr.com/1668ocq

    Here is the link to the PDF file.
    https://drive.google.com/file/d/1iQE3dK-C3219JpAmCROVngpf30VHrU5W/view?usp=sharing

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author maximum.software

    (@maximumsoftware)

    Hi,

    There seems to be a number of issues.

    1. Your PDF file appears to be broken in some ways. Some checkbox fields don’t get filled by both versions of my backend and some checkboxes render as blank when checked. I’ve opened your PDF file in my PDF editing software, edited the checkbox style, re-saved it and it started working for me. Please try to correct your PDF file using this method.

    2. According to your PDF file, the valid ‘day’ field values are ‘sun’, ‘sat’, ‘friday’, ‘thursday’, ‘wednesday’, ‘tuesday’, and ‘monday’. Only one value may be selected at a time. But according to your form-tags and your mapping screenshot, you have an individual form-tag and PDF field for each day. The fields’ values are incorrect as well. So, you must have changed the PDF since you’ve set up the form-tags and the field mappings. The correct form-tag for the current version of the PDF file is as follows:
    [checkbox day1 exclusive "sun" "sat" "friday" "thursday" "wednesday" "tuesday" "monday"]
    If you need to customize the field values on the website, you can use pipes:
    [checkbox day1 exclusive "Sun|sun" "Sat|sat" "Fri|friday" "Thu|thursday" "Wed|wednesday" "Tue|tuesday" "Mon|monday"]
    The correct mapping is “day1 -> day”.

    I am able to get your checkboxes filled using the above fixes.

    Thread Starter gsugapong

    (@gsugapong)

    Hi,

    Thank you for the response. However, I am not sure if I am getting it right.

    If you mean changing the field name to ‘day’ then assign export value to its respective day, like on this screenshot https://prntscr.com/16eyms5

    and use this form tags:
    [checkbox day1 exclusive “monday” “sun” “sat” “friday” “thursday” “wednesday” “tuesday”]

    then map “day” to “day.

    It’s not working.

    HOWEVER, I noticed that the auto-generated tags work fine. I’ll just use that instead!

    By the way, is there any way we can adjust the image for the embed image?

    Plugin Author maximum.software

    (@maximumsoftware)

    Hi @gsugapong,

    The word ‘day’ is a reserved keyword. See this.

    You have to use ‘day1’ or something like that.

    How exactly do you need to ‘adjust’ the embedded image?

    Thread Starter gsugapong

    (@gsugapong)

    I had the checkbox working by just using the auto-generated tags.

    I was referring to preview an image, just like when you upload a profile photo on social medias.

    Right now, you can only see an attachment.

    Thread Starter gsugapong

    (@gsugapong)

    I want the image to appear here. https://prntscr.com/16eyms5

    Plugin Author maximum.software

    (@maximumsoftware)

    I still don’t fully understand what you need.

    When you embed an image, you can select the bounding box where the image will be embedded using the jcrop tool. This will allow you to set the location and the size of the image within the PDF.

    If you want to allow users to crop the image on the front end before it gets uploaded then that should be done using another plugin or with some custom code, maybe using jcrop. This kind of feature is outside of scope of this plugin.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Single Checkbox not working’ is closed to new replies.