Tagged: calculate, date, javascript, jquery
- This topic has 2 replies, 2 voices, and was last updated 8 years, 7 months ago by admin.
-
AuthorPosts
-
CraigParticipant
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.
adminKeymasterOur 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
adminKeymasterAdditionally, 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
-
AuthorPosts