Search found 10 matches

by Ocasio
Tue Mar 16, 2021 1:30 pm
Forum: PDF-XChange Editor
Topic: Move everything in a page? SOLVED
Replies: 1
Views: 535

Move everything in a page? SOLVED

Is there any simple way to just move everything that a page has higher, lower or to the sides?
by Ocasio
Mon Mar 09, 2020 8:05 pm
Forum: How to forum
Topic: Change properties of another field SOLVED
Replies: 5
Views: 10772

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&q...
by Ocasio
Mon Mar 09, 2020 7:10 pm
Forum: How to forum
Topic: Change properties of another field SOLVED
Replies: 5
Views: 10772

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: 10772

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 th...
by Ocasio
Mon Mar 09, 2020 4:29 pm
Forum: How to forum
Topic: Rename files based on content
Replies: 3
Views: 3550

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: 3550

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 t...
by Ocasio
Mon Mar 09, 2020 2:30 pm
Forum: PDF-XChange Editor
Topic: Index matching with form SOLVED
Replies: 7
Views: 1817

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.val...
by Ocasio
Mon Mar 09, 2020 1:15 pm
Forum: PDF-XChange Editor
Topic: Index matching with form SOLVED
Replies: 7
Views: 1817

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: 1817

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: 1817

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 "01...