Support » Plugin: PDF Forms Filler for Contact Form 7 » Unique random number

  • Resolved bgtbbox

    (@bgtbbox)


    Hello

    First of all, it’s an excellent plugin.
    Thank you for creating it, it’s great.
    I will buy, premium version, in the week, because it is super useful.

    Just a little help.

    I use the plugin: “Contact Form 7 Dynamic Text Extension” so as to have a unique random number for each submitted form.
    I would like to see this field appear in the pdf form, also in addition to seeing it in the body of the email, confirmation.

    I add this code:

    <Label> topmostSubform [0] .Page1 [0] .NumericField1 [0] </ label>
         [text pdf-field-134-topmostsubform0-page10-numericfield10-dG9wbW9zdFN1YmZvcm1bMF0uUGFnZTFbMF0uTnVtZXJpY0ZpZWxkMVswXQ] [dynamictext ticket-id readonly “RZH_CF7_GEN_NOMOR”]

    It does not work, I must not do it properly.

    Can you help me ?

    Thank you

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

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

    (@maximumsoftware)

    I was able to get this to work.

    Your example requires a shortcode ‘RZH_CF7_GEN_NOMOR’ to work. I used the ‘Shortcode for Current Date’ plugin (https://wordpress.org/plugins/shortcode-for-current-date/) instead that provides [current_date] shortcode.

    I added the following into my form,

    [dynamictext date readonly “current_date”]

    Then, I went into the ‘PDF Form’ thickbox and mapped ‘date’ field into a field in my PDF file (by selecting from the dropdowns in the Field Mapper Tool and clicking ‘Add Mapping’).

    It worked for me. When I accessed the form page, it automatically pre-filled the date for me in the form and I saw the date in the PDF when I received it to my email.

    Maybe check to make sure the ‘RZH_CF7_GEN_NOMOR’ shortcode is working? Also, check to make sure you have mapped the fields.

    Problem resolved 🙂
    Merci

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Unique random number’ is closed to new replies.