Search found 10 matches

by Ocasio
Mon Mar 09, 2020 8:05 pm
Forum: How to forum
Topic: Change properties of another field SOLVED
Replies: 5
Views: 1064

Re: Change properties of another field SOLVED

I just did this and worked with mouse up as suggested My intention was to clear and disable many other fields if a specific field is checkmarked var D = this.getField("Main_Checkmar"); var NA = this.getField("Text_Field").value; var DMC = this.getField("Secondary_Checkmark"); { if (NA == "Off"){ D.v...
by Ocasio
Mon Mar 09, 2020 7:10 pm
Forum: How to forum
Topic: Change properties of another field SOLVED
Replies: 5
Views: 1064

Re: Change properties of another field SOLVED

Thank you, im trying but I dont see how to make it work with a checkmark value. Is it mouse up? Down?
by Ocasio
Mon Mar 09, 2020 5:43 pm
Forum: How to forum
Topic: Change properties of another field SOLVED
Replies: 5
Views: 1064

Change properties of another field SOLVED

I have a form that, if one checkmark is "TRUE" then many other field should not be filled What I want is that, if the user checkmarks that field, 5 other fields should be set to "read-only" with a specific text N/A and another checkmark field should be "TRUE" Also if the checkmark is removed, or "FA...
by Ocasio
Mon Mar 09, 2020 4:29 pm
Forum: How to forum
Topic: Rename files based on content
Replies: 3
Views: 427

Re: Rename files based on content

I forgot where I found it but I know it was a forum, not this one. But I remember it has a .pdf and an external .js file

Both options, save while open to another file or rename a closed file are useful to me.

If you could help me out with both of those, I would appreciate thanks.
by Ocasio
Mon Mar 09, 2020 3:56 pm
Forum: How to forum
Topic: Rename files based on content
Replies: 3
Views: 427

Rename files based on content

Good morning everyone. Ive been trying to look for a way to do this everywhere, I found once a script and I lost it. I want to rename .pdf files based on content inside them For example, if the .pdf file has a this.getField("Text1").value and this.getField("Text3").value I want the file to be rename...
by Ocasio
Mon Mar 09, 2020 2:30 pm
Forum: PDF-XChange Editor
Topic: Index matching with form SOLVED
Replies: 7
Views: 784

Re: Index matching with form SOLVED

Thank you, I modified and it works fine like this. if (event.willCommit) { if (event.value == "Option 1"){ this.getField("Text1").value = "01"; } else if (event.value == "Option 2"){ this.getField("Text1").value = "02"; } else if (event.value == "Option 3"){ this.getField("Text1").value = "03"; } el...
by Ocasio
Mon Mar 09, 2020 1:15 pm
Forum: PDF-XChange Editor
Topic: Index matching with form SOLVED
Replies: 7
Views: 784

Re: Index matching with form SOLVED

Thank you, is very close but not quite what i am looking for

For example, if Dropdown is "Option 1" then Text 2 is "00155"

Its a match table, none of the characters in one field are repeated in the other field

User name | User ID
Maria = 00155
Ralph = 87449
Etc...
by Ocasio
Sat Mar 07, 2020 1:17 am
Forum: PDF-XChange Editor
Topic: Index matching with form SOLVED
Replies: 7
Views: 784

Re: Index matching with form SOLVED

I did try the code on a text field rather than a dropdown box, still not getting the expected results. Could you tell me if the code is wrong?
by Ocasio
Thu Mar 05, 2020 6:42 pm
Forum: PDF-XChange Editor
Topic: Index matching with form SOLVED
Replies: 7
Views: 784

Index matching with form SOLVED

Hello, I am trying to make a field value change based on another field value var PP = this.getField("Primary Person").value if( PP = "Person 2" ) event.value = "010101"; else if( PP = "Person 5" ) event.value = "058916"; In this case, I want "010101" to be automatically fill in the field value if th...
by Ocasio
Tue Jan 14, 2020 2:11 am
Forum: PDF-Tools 4
Topic: Mass PDF generator
Replies: 1
Views: 1236

Mass PDF generator

Hello, I am generating 500 PDF from a .csv table that I am inserting in form fields. I have two questions about it. Do I need to first create 500 "empty" files? I always do it but there should be an easier way since its one form repeated 500 times. Is there any way to rename all output documents bas...