PDF Text Field Properties

Home Forums How to PDF Text Field Properties

This topic contains 2 replies, has 2 voices, and was last updated by  admin 1 year, 8 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #7130


    Hi. The PDF I used has a field (Full Name) with a calculation. This field picks up two fields (FirstName and LastName) that get generated when i run the formidable pro pdf as those two fields are in my form but the combined field is not and is therefore an inbuilt calculation.

    FYI my calculation for Full Name is:

    // Get the field values, as strings
    var s1 = getField(“FirstName”).valueAsString;
    var s2 = getField(“LastName”).valueAsString;

    // Combine values, separated by a space
    event.value = s1 + ” ” + s2;

    How do I fix this as I have various other fields that do similar things. Eg Expiry Date as you cant calculate date fields in the actual Formidable form.



    Our PRO2PDF plugin does not calculate, combine fields, or offer javascript functionality and we do not offer support for JQuery or Javascript.

    Formidable provides data calculation through hooks, javascript, and JQuery, see here: https://formidablepro.com/knowledgebase/frm_validate_field_entry/#kb-calculate-final-date and can be used with JQuery’s Datepicker: http://jqueryui.com/datepicker/

    Adobe PDF’s also make use of their own javascript language, see here: http://www.pdfscripting.com/public/department44.cfm



    Additionally, we use Formidable Hooks to combine text fields, see here: https://formidablepro.com/knowledgebase/frm_validate_field_entry/#kb-combine-multiple-fields-into-one-field

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.