SAR Solutions
SAR Solutions
  • 81
  • 272 806
How to Add RESET button in PDF Form
Learn how to easily add RESET button to your PDF documents using Adobe Acrobat! This step-by-step tutorial will guide you through.
I hope you like this video,
Don't forget to like and subscribe to my channel.
______________________________________________________________
How to create Multiple Dependent Dropdown menu
ua-cam.com/video/CP2lUhyf2rc/v-deo.html
______________________________________________________________
Populate Text Fields from Drop Down List
ua-cam.com/video/nt_3d-KGTtg/v-deo.htmlsi=GfmSZL0F19Pwacz1
______________________________________________________________
Hide and Show Text Fields based on selection from dropdown list
ua-cam.com/video/dFeZR5j9bbo/v-deo.htmlsi=cEV4Yho00AgMQFzz
______________________________________________________________
Hide and Show Dropdown Field based on Dropdown Selection
ua-cam.com/video/BAc3XNckHmM/v-deo.htmlsi=nYSRiRYkbpydGg_G
#reset #pdfediting #adobeacrobatprodc #AcrobatJavascript
Переглядів: 175

Відео

How to add Video in PDF Document | ADOBE ACROBAT
Переглядів 1 тис.2 місяці тому
Learn how to easily add video to your PDF documents using Adobe Acrobat! This step-by-step tutorial will guide you through embedding video files directly into PDFs, enhancing your presentations and reports. Perfect for beginners and professionals looking to create interactive PDFs with multimedia content. I hope you like this video, Don't forget to like and subscribe to my channel. How to creat...
Create Custom Dynamic PDF Stamp without Coding | FOXIT PDF EDITOR
Переглядів 5383 місяці тому
Learn how to create dynamic PDF stamps in Foxit PDF Editor without any coding skills! Follow this simple guide to customize and automate your PDF stamps effortlessly. this tutorial walks you through each step to design interactive stamps that update automatically based on your input. Discover tips to make your PDFs more professional and save time on repetitive tasks-all without needing any prog...
Create Adobe Dynamic PDF Stamp | Adobe Acrobat
Переглядів 1,6 тис.3 місяці тому
Learn how to create a dynamic stamp to a PDF stamp field and collect user responses in Adobe Acrobat, this video tutorial is for you. The tutorial covers how to automatically insert today's date and the user's name from the Adobe identity into the stamp. Additionally, it demonstrates how to gather a user's response through a popup or dialog window and automatically insert the response into the ...
Create Fillable PDF Form for FREE
Переглядів 2843 місяці тому
Easiest way to Create Fillable Form for FREE Creating fillable form in Sejda. In this video, we'll walk you through the simplest method to make your PDF document interactive and user-friendly using things like checkboxes, text boxes, date pickers, and drop-down menu lists. Feel free to contact me privately 🔔 For more videos, Subscribe to our channel: ua-cam.com/channels/PnlaZYGCI3Yy11mvkoyVmw.h...
Dependent Dropdown List in PDF Form | Adobe Acrobat
Переглядів 2,7 тис.4 місяці тому
In this tutorial, learn how to create a dependent dropdown list in a PDF form using Adobe Acrobat. I'll guide you step-by-step on setting up dependent dropdown fields where the options in one list change based on the selection in another. Perfect for creating interactive and user-friendly forms! I hope you like this video, Don't forget to like and subscribe to my channel. How to create Multiple...
Calculations in Microsoft WORD (Subtract, Sum, Divide, Product)
Переглядів 1625 місяців тому
Learn how to perform basic calculations directly in Microsoft Word In this video, we'll guide you through simple methods to subtract, sum, divide, and multiply within your Word documents. Perfect for enhancing your document's functionality without needing Excel. Watch now to master these handy Word tricks! If you still facing any problems, Let me know in the comment box down below. 🔔 For more v...
How to Add Dropdown in Microsoft Excel | Easy Step-by-Step Tutorial
Переглядів 505 місяців тому
In this video, we going to add a DROPDOWN LIST in Microsoft Excel. Learn how to add dropdown lists in Microsoft Excel with this quick and easy tutorial. Perfect for creating forms and interactive documents, this step-by-step guide will walk you through the process of setting up dropdown menus in MS Excel. Whether you're a beginner or looking to enhance your MS Excel skills, this video is for yo...
Dynamic PDF Stamp with Dropdown Menu | Acrobat Stamp
Переглядів 6546 місяців тому
The tutorial covers how to automatically insert today's date and the user's name from the Adobe identity into the stamp. Additionally, it demonstrates how to gather a user's response through a dropdown menu list or dialog window and automatically insert the response into the field. Follow along with this video to improve your PDF stamping skills! For Custom Dynamic Stamp, You can contact me pri...
Auto Populate Text Field from Drop Down List Selection in MS Word | Microsoft Word
Переглядів 16 тис.Рік тому
Auto Populate Text Field from Drop Down List Selection in Microsoft Word Fillable Form Step-by-step tutorial on How To Populate Text Form Field from Drop Down List Selection. In this comprehensive guide, we'll walk you through the simple yet powerful techniques to seamlessly link drop-down lists and text fields, streamlining your document creation process. If you still facing any problems, Let ...
How To Create Fillable Form In Microsoft Word | Easiest Way | MS Word
Переглядів 1 тис.Рік тому
Easiest way to Create Fillable Form In Microsoft Word Welcome to a hassle-free guide on creating fillable forms in Microsoft Word. In this video, we'll walk you through the simplest method to make your Word documents interactive and user-friendly using things like checkboxes, text boxes, date pickers, and drop-down menu lists. If you still facing any problems, Let me know in the comment box dow...
How To Auto Populate Form Fields in MS Word Automatically | Microsoft Word
Переглядів 15 тис.Рік тому
How To Auto Populate Form Fields in MS Word Document Automatically Welcome to our step-by-step guide on the populate form field in Microsoft Word document automatically. If you're creating surveys, feedback forms, or any Word documents with fillable fields, this video is your time-saving and accuracy-enhancing solution. If you still facing any problems, Let me know in the comment box down below...
Custom Dynamic Stamp PDF V2.0 | Adobe Acrobat
Переглядів 3 тис.Рік тому
Custom Dynamic Stamp PDF V2.0 | Adobe Acrobat
Populate Text Fields from Drop Down List in Adobe Acrobat PDF
Переглядів 13 тис.Рік тому
Populate Text Fields from Drop Down List in Adobe Acrobat PDF
Hide and Show Text field based on CHECKBOX | Adobe Acrobat | Javascript
Переглядів 5 тис.Рік тому
Hide and Show Text field based on CHECKBOX | Adobe Acrobat | Javascript
Create Clickable Table of Content in Canva
Переглядів 13 тис.Рік тому
Create Clickable Table of Content in Canva
Create CLICKABLE Table of Content in Adobe Acrobat PDF Document
Переглядів 6 тис.Рік тому
Create CLICKABLE Table of Content in Adobe Acrobat PDF Document
How to insert Page Numbers in pdf document | Adobe Acrobat
Переглядів 378Рік тому
How to insert Page Numbers in pdf document | Adobe Acrobat
how to add watermark in pdf document | Adobe Acrobat
Переглядів 2,1 тис.Рік тому
how to add watermark in pdf document | Adobe Acrobat
Installing a Dynamic Stamp into Adobe Acrobat
Переглядів 1,7 тис.Рік тому
Installing a Dynamic Stamp into Adobe Acrobat
How to Change Color of a Text Field in PDF Using Adobe Acrobat PRO DC
Переглядів 1,1 тис.Рік тому
How to Change Color of a Text Field in PDF Using Adobe Acrobat PRO DC
How to Add Date Field In Adobe Acrobat That AUTOMATICALLY Fills Out With Current Date
Переглядів 4,3 тис.Рік тому
How to Add Date Field In Adobe Acrobat That AUTOMATICALLY Fills Out With Current Date
How to Export Read Only PDF form Document using Adobe Acrobat
Переглядів 1,1 тис.Рік тому
How to Export Read Only PDF form Document using Adobe Acrobat
Change color of Text Field when text is entered using Adobe Acrobat
Переглядів 484Рік тому
Change color of Text Field when text is entered using Adobe Acrobat
How to Auto populate Text Field from multiple text fields using Adobe Acrobat
Переглядів 3,3 тис.Рік тому
How to Auto populate Text Field from multiple text fields using Adobe Acrobat
How to create File Attachment button in pdf document using Adobe Acrobat
Переглядів 4,3 тис.Рік тому
How to create File Attachment button in pdf document using Adobe Acrobat
Hide and Show Text Fields based on selection from dropdown list in Adobe Acrobat
Переглядів 4,1 тис.Рік тому
Hide and Show Text Fields based on selection from dropdown list in Adobe Acrobat
Hide and Show Dropdown Field based on Dropdown Selection in Adobe Acrobat
Переглядів 3,4 тис.Рік тому
Hide and Show Dropdown Field based on Dropdown Selection in Adobe Acrobat
Show & Hide Fields based on Drop down selection in Adobe Acrobat PDF
Переглядів 10 тис.Рік тому
Show & Hide Fields based on Drop down selection in Adobe Acrobat PDF
How to Populate Drop Down List based on Multiple Text Box in Adobe Acrobat
Переглядів 3,6 тис.Рік тому
How to Populate Drop Down List based on Multiple Text Box in Adobe Acrobat

КОМЕНТАРІ

  • @AMilesDavis
    @AMilesDavis 23 години тому

    Having an issue with this type of input. When selecting "Vegetables" I want to add a note to Onions, but setting this into the Calculation script automatically overwrites notes. If I move it from Calculation to Validation script, I can make notes, but there is a delay in the populated data wherein i have to make a second change to get it to update. calculateNow function doesn't help in either state. validation can't be adjusted in Set Field Calculation Order. I already have the Commit immediately option checked. I need the script to both update immediately and allow for additional text in the box once the dropdown is selected.

  • @johncramer3281
    @johncramer3281 5 днів тому

    How do you go back and edit what auto populates

  • @FatimaB-t9i
    @FatimaB-t9i 10 днів тому

    Are we able to do this on checkboxes or dropdown? like make a stamp where a person can select a dropdown or check a box?

    • @sarservices
      @sarservices 8 днів тому

      Of course, we can also add boxes, dropdown lists, and radio buttons.

  • @meohash1
    @meohash1 16 днів тому

    sorry can you please provide the script please

  • @prdmd
    @prdmd 18 днів тому

    Thank you so much! 💛

    • @sarservices
      @sarservices 17 днів тому

      Thanks for watching 🙂 and Don't forget to like and subscribe to our channel for more content: www.youtube.com/@sarservices

  • @bfshinn
    @bfshinn 22 дні тому

    What would you recommend for a checkbox naming convention if I have to do this multiple times for different questions on the same PDF?

    • @sarservices
      @sarservices 21 день тому

      If you have multiple groups of checkboxes, this will be a bit more complex. You will need a document level script and should assign a prefix to each group. Then, loop through the checkboxes to check if the limit has been exceeded.

    • @bfshinn
      @bfshinn 21 день тому

      @@sarservices I don't have any true level of scripting, so I am not certain how to do a document level script.

  • @princessdelights5843
    @princessdelights5843 24 дні тому

    Can I have the Java script to flatten the file and hide the button?

  • @navdeepjaspreet4908
    @navdeepjaspreet4908 24 дні тому

    How do you make the text output to be multi line text rather then in one line Like I want the output to be a paragraph for the selected drop down option

    • @sarservices
      @sarservices 23 дні тому

      Goto: Text Field properties > Options > Select Multiline

  • @navdeepjaspreet4908
    @navdeepjaspreet4908 24 дні тому

    How do you make the text output to be multi line text rather then in one line Like I want the output to be a paragraph for the selected drop down option

  • @sakibtalukder-6890
    @sakibtalukder-6890 26 днів тому

    Thank you so much.

    • @sarservices
      @sarservices 26 днів тому

      Glad it helped! 🙂 and Don't forget to like and subscribe to our channel for content: www.youtube.com/@sarservices

  • @mohwiss2351
    @mohwiss2351 27 днів тому

    Good Job 👏

    • @sarservices
      @sarservices 26 днів тому

      Glad it helped! 🙂 and Don't forget to like and subscribe to our channel for content: www.youtube.com/@sarservices

  • @zamranshaikh7208
    @zamranshaikh7208 Місяць тому

    Download in which format

  • @andyoglesby693
    @andyoglesby693 Місяць тому

    Thank you so much for this. I was able to replicate the code and set up the limitation in my document with no problem, EXCEPT…I am trying to set up the same interaction with 30 check boxes, instead of 6. I know you call this variation out in the comments below in your reply to @jakubmalinowski1474 (“…If you have 10 checkboxes and want to limit only 3 checkboxes then replace '6' with '10' (at line 5), rest of the code will remain same.), but there is something off about any number of checkboxes above 9…maybe to do with double digits? In my doc, the script works fine for the first 9 check boxes. However, boxes 10-30 do not respect the script and allow multiple checks beyond the desired 3. And stranger still, if 3 boxes within the 10-30 range *are* checked, the limitation still applies to boxes 1-9, disallowing a 4th box to be checked in that range. If it’s not too much trouble, I wonder if you can tell me what I’m doing wrong? I’ve tried adjusting parts of the script, but nothing seems to work. My variation on the script is below, and all my checkboxes are named correctly (as far as I can tell), cb1 through cb30. Thanks so much!

    • @andyoglesby693
      @andyoglesby693 Місяць тому

      if (event.source && /^cb\d$/.test(event.source.name)) { var counter = 0; for (var i=1; i<=30; i++) { if (this.getField ("cb"+i).value!="Off") counter++; } if (counter>3) { app.alert ("Error! Please choose no more than 3 roles."); this.resetForm([event.source.name]); } }

    • @andyoglesby693
      @andyoglesby693 Місяць тому

      Wanted to add that I got a very nice reply from SAR solutions with a fix for my issue. 10/10!

  • @kakhatsetskhladze1061
    @kakhatsetskhladze1061 Місяць тому

    You're best

    • @sarservices
      @sarservices Місяць тому

      I'm glad it helped you! 🙂 Don't forget to subscribe to our channel for more interesting videos: www.youtube.com/@sarservices

  • @DesignLye
    @DesignLye Місяць тому

    How to Dropdown Dynamic Stamps

  • @elektrostoff
    @elektrostoff Місяць тому

    Thank you very much. Amazing video. On point.

    • @sarservices
      @sarservices Місяць тому

      I'm glad it helped you! 🙂 Don't forget to subscribe to our channel for more interesting videos: www.youtube.com/@sarservices

  • @salimullah7117
    @salimullah7117 Місяць тому

    Please provide project file

  • @GeneRyan-l2g
    @GeneRyan-l2g Місяць тому

    I keep getting "Syntax error: missing ; before statement" line 2 Var f = this.getField("Repeater") ; switch(event.value) { case "NORTH UMPQUA": f.setItems(["Fairview", "Red Butte", "Chilcoot"]); break; case "DIAMOND LAKE": f.setItems(["Pig Iron", "Cinnamon", "Doehead"]); break; case "TILLER": f.setItems(["Pickett", "Cedar Spring", "Acker"]); break; Case "-Select-" f.clearItems();}

  • @billgregory1782
    @billgregory1782 Місяць тому

    mine isnt working please see my script. var f = this.getField("BCA1"); switch (event.value){ case "Lighting": f.setItems(["BCA2002 PartJ7 AS3000-2018.AS1680.0-2009"]); break; case "Electrical Services": f.setItems(["BCA2022 ClauseF6D5.PartJ7 AS3000-2018.AS1680.0-2009"]); break; case "Emergency Lighting & Exit Signage": f.setItems(["BCA2002 Clauses E4D2 E4D4 E4D4 E4D6 E4D8 AS/NZ2293.1-2018"]); break; default: f.setitems([""]); }

    • @sarservices
      @sarservices Місяць тому

      Hello there, Your script is mostly correct but one issue, Changed f.setitems([""]); to f.setItems([""]); (in Default block)

    • @billgregory1782
      @billgregory1782 Місяць тому

      @sarservices thank you ,

    • @billgregory1782
      @billgregory1782 Місяць тому

      Thanks for your reply, Working with "Electrical Services", wont change when i select the other 2 services "Lighting " & Emergency Lighting" Thanks Again

    • @sarservices
      @sarservices Місяць тому

      @@billgregory1782 Check spelling, Javascript is case sensitive.

  • @billgregory1782
    @billgregory1782 Місяць тому

    cant get it to work

  • @dominicamymantuano1934
    @dominicamymantuano1934 2 місяці тому

    HUGE help thank you!!!

    • @sarservices
      @sarservices 2 місяці тому

      Glad it helped, Subscribe to our channel: www.youtube.com/@sarservices

  • @K33BA
    @K33BA 2 місяці тому

    For those having the issue with the text colour, i found it was because .textcolor is case sensitive and should have a capital 'C'. Corrected text below if (!event.value) { event.value = "Enter text"; event.target.textColor = color.ltGray; event.target.display = display.noPrint; } else {event.target.textColor = color.black event.target.display = display.visible; }

  • @auduongminhkhoa1494
    @auduongminhkhoa1494 2 місяці тому

    Is it possible to use dynamic stamps on mobile devices like tablet?

  • @NineTalesProduction
    @NineTalesProduction 2 місяці тому

    if (!event.value) { event.value = "YOUR TEXT HERE"; event.target.textcolor = color.ltGray; event.target.display = display.noPrint; } else {event.target.textcolor = color.black event.target.display = display.visible; }

  • @JCriss
    @JCriss 2 місяці тому

    Awesome thanks

    • @sarservices
      @sarservices 2 місяці тому

      Hi there! I'm glad it helpful for you 😊 Don't forget to hit that subscribe button.

  • @jakubmalinowski1474
    @jakubmalinowski1474 2 місяці тому

    What if we have over 10 checkboxes? it seems like \d$/ affects only one-sign sized numbers...

    • @sarservices
      @sarservices 2 місяці тому

      Hello, If you have 10 checkboxes and want to limit only 3 checkboxes then replace '6' with '10' (at line 5), rest of the code will remain same.

    • @jakubmalinowski1474
      @jakubmalinowski1474 2 місяці тому

      @@sarservices its not the issue, i've already swapped that to my own problematics - my code: if(event.source && /^Do_2-\d$/.test(event.source.name)) { var counter = 0; for(var i=1 ; i<=17 ; i++){ if(this.getField("Do_2-"+i).value!="Off") { counter++; } } if(counter>2) { app.alert("Attention! You cannot select more than 2 options! "); this.resetForm([event.source.name]); } } the issue is, this script bugs out on selcted boxes 10-... and lets me select more than 2 options, even though script should throw an error. I think its a regex issue or something ive overlooked.

    • @jakubmalinowski1474
      @jakubmalinowski1474 2 місяці тому

      @@sarservices i mean i already optimized this part, just look at the code below: if(event.source && /^Do_2-\d$/.test(event.source.name)) { var counter = 0; for(var i=1 ; i<=17 ; i++){ if(this.getField("Do_2-"+i).value!="Off") { counter++; } } if(counter>2) { app.alert("Attention! You cannot select more than 2 options! "); this.resetForm([event.source.name]); } } The issue is: on my list, when selecting options 10-11 script tends to bug out and lets you select more than 2 options. I didnt yet test forloop starting on 0, and maybe thats the issue?

  • @tomfoolery2964
    @tomfoolery2964 2 місяці тому

    What if i want to populate one "target dropdown" with two different "source dropdown" so I get combined data. For example I choose source 1 to populate: trim and I use source 2 to populate: bushes. Then my target dropdown reads trim / bushes.

    • @sarservices
      @sarservices 2 місяці тому

      Hello there, i understand, but this task won't be easy. You will need to create a change event function to update the target dropdown. If you're looking to hire someone to develop a custom script, feel free to contact me at sarservices7987(at)gmail(.)com

  • @massielramirez7353
    @massielramirez7353 2 місяці тому

    THANK YOU SO MUCH! It was very helpful

    • @sarservices
      @sarservices 2 місяці тому

      I'm glad it helped you! Don't forget to subscribe to our channel for more interesting videos: www.youtube.com/@sarservices

  • @nancyong4155
    @nancyong4155 2 місяці тому

    how to make the input fields visible only after the check box is selected? and when select the next check box and the 1st check box will hidden immediately.

    • @sarservices
      @sarservices 2 місяці тому

      Hello nancy, in this case you need a conditional script for checkbox group.

    • @nancyong4155
      @nancyong4155 2 місяці тому

      @@sarservices able to provide script

    • @nancyong4155
      @nancyong4155 2 місяці тому

      i have 3 check box with field, which ever check box i click on it show the selected only.

    • @nancyong4155
      @nancyong4155 2 місяці тому

      may i email a PDF to show and will you able to reply me immediately?

  • @mce8183
    @mce8183 2 місяці тому

    I just wanted to thank you for assisting me all the way through the process.

    • @sarservices
      @sarservices 2 місяці тому

      You're welcome! Feel free to contact me if you have any further questions.

  • @patricknyamu6110
    @patricknyamu6110 3 місяці тому

    can you add your own image ??

    • @sarservices
      @sarservices 3 місяці тому

      No, inbuilt custom stamp creator allows only Text.

    • @patricknyamu6110
      @patricknyamu6110 3 місяці тому

      @@sarservices thanks make one for pdfelement

  • @hoangtuan8099
    @hoangtuan8099 3 місяці тому

    I don't get it. Why you set bookmark name "Field1" but in code you wrote is "REF Count" instead of "REF Field1"?

  • @paulomribeirojr
    @paulomribeirojr 3 місяці тому

    // Initialize attachment number attachment_num = 1; // Initial location of file attachment icon // The x value is incremented below var oFAP = {x_init: -72, x: -72, y: -72}; // Below lower-left corner of the page function import_pret_11() { if (app.viewerType === "Reader") { app.alert({ cMsg: "You must use Reader version 11 or later to attach files to this form.", cTitle: "Attach File Error", nIcon: 3, nType: 0 }); return; } // Prompt user to import a file app.alert({ cMsg: "Click the OK/Open button after selecting the file from your system that you want to attach.", cTitle: "Attach File", nIcon: 3, nType: 0 }); try { var rc = this.importDataObject("Attachment" + attachment_num); if (rc) { attachment_num += 1; app.alert({ cMsg: "Attachment successful. Open the Attachments panel to access the attached file(s).", cTitle: "Attachment Successful", nIcon: 3, nType: 0 }); } else { app.alert({ cMsg: "Attachment cancelled.", cTitle: "Attachment Cancelled", nIcon: 3, nType: 0 }); } } catch (e) { app.alert({ cMsg: "Could not attach file. Please report this error.", cTitle: "File attachment error", nIcon: 3, nType: 0 }); } } function import_11() { try { var annot = addAnnot({ page: event.target.page, type: "FileAttachment", author: "Form user", name: "File Attachment", point: [oFAP.x, oFAP.y], contents: "File attachment on: " + util.printd("yyyy/mm/dd HH:MM:ss", new Date()), attachIcon: "Paperclip" }); annot.cAttachmentPath; // Prompt user to select a file to attach oFAP.x += 18; // Increment the x location for the icon } catch (e) { app.alert({ cMsg: "Could not attach file. Please report this error.", cTitle: "File attachment error", nIcon: 3, nType: 0 }); } }

  • @jamesranum2934
    @jamesranum2934 3 місяці тому

    Do you need an option for every source option in order for it to work? My Target Dropdown remains blank and when I click on it I hear that error chime.

    • @jamesranum2934
      @jamesranum2934 3 місяці тому

      This is what I have so far: var f = this.getField("Industry"); switch (event.value){ case "Agriculture": f.setItems(["Animals & Livestock", "Crops", "Forestry"]); break; default: f.setItems(["-None-"]); }

    • @sarservices
      @sarservices 3 місяці тому

      Your Adobe JavaScript code looks correct. Make sure the field and case names are spelled correctly in the code, as JavaScript is case-sensitive.

  • @tacnola
    @tacnola 3 місяці тому

    Thank you this has helped a lot. I do have a question - I have a Dropdown with a dependent text box that will fill based on the selection. If I have a Dropbox name that will not have a dependent answer in the text, how do I make is show blank? Right now it will just show what was previously selected.

    • @sarservices
      @sarservices 3 місяці тому

      1:47 If you want to make empty text box, then simply add a blank space like this ("") or skip that case item in your script.

  • @rmcrae
    @rmcrae 3 місяці тому

    Thanks so much I have been trying to solve this problem for 6 Hours

  • @sandyhart4884
    @sandyhart4884 3 місяці тому

    Is it possible to do another box? For instance, I need the main box to have the name of a building. Depending on what is selected, the second box will display address. But I need a third box to display a phone number that matches.

    • @sarservices
      @sarservices 3 місяці тому

      You can just simply use same code in phone box and update REF COUNT with phone numbers

  • @mce8183
    @mce8183 3 місяці тому

    hello....what does \d5/ stands for?

    • @sarservices
      @sarservices 3 місяці тому

      it should be like this "\d$/" (dollar sign) 3:14

  • @mohanadnabhan2720
    @mohanadnabhan2720 3 місяці тому

    For you guys: // Initialize attachment number var attachment_num = 1; // Initial location of file attachment icon var oFAP = { x_init: -72, x: -72, y: -72 }; // Below lower-left corner of the page // Function for versions older than Reader 11 function import_pre_11() { if (app.viewerType === "Reader" && app.viewerVersion < 11) { app.alert({ cMsg: "You must use Reader version 11 or later to attach files to this form.", cTitle: "Attach File Error", nIcon: 3, nType: 0 }); return; } app.alert({ cMsg: "Click the OK/Open button after selecting the file from your system that you want to attach.", cTitle: "Attach File", nIcon: 3, nType: 0 }); try { var rc = this.importDataObject("Attachment" + attachment_num); if (rc === 0) { // Assuming 0 indicates success attachment_num += 1; app.alert({ cMsg: "Attachment successful. Open the Attachments panel to access the attached file(s).", cTitle: "Attachment Successful", nIcon: 3, nType: 0 }); } else { app.alert({ cMsg: "Attachment failed or was cancelled.", cTitle: "Attachment Error", nIcon: 3, nType: 0 }); } } catch (e) { app.alert({ cMsg: "Could not attach file. Error: " + e.message + " Please report this error.", cTitle: "Attachment Error", nIcon: 3, nType: 0 }); console.println("Error details: " + e.message); // Log to console for debugging } } // Function for Reader version 11 and later function import_11() { try { // Prompt the user to select a file before creating an annotation var attachmentPath = app.browseForDoc(); // Open the file dialog for user to select the file if (!attachmentPath) { throw new Error("No file selected."); } var annot = addAnnot({ page: event.target.page, type: "FileAttachment", author: "Form user", name: "File Attachment", point: [oFAP.x, oFAP.y], contents: "File attachment on: " + util.printd("yyyy/mm/dd HH:MM:ss", new Date()), attachIcon: "Paperclip" }); // Manually set the file attachment path annot.setAttachment(attachmentPath); if (!annot || !annot.attachmentPath) { throw new Error("Annotation creation failed."); } oFAP.x += 18; if (oFAP.x > 595) { // Assuming 595 is the width of the page, adjust as needed oFAP.x = oFAP.x_init; // Reset to initial value if it exceeds the page width } app.alert({ cMsg: "Attachment successful. Open the Attachments panel to access the attached file(s).", cTitle: "Attachment Successful", nIcon: 3, nType: 0 }); } catch (e) { app.alert({ cMsg: "Could not attach file. Error: " + e.message + " Please report this error.", cTitle: "File Attachment Error", nIcon: 3, nType: 0 }); console.println("Error details: " + e.message); // Log to console for debugging } } // Main function to handle version check and call appropriate import function function attachFile() { try { if (app.viewerVersion < 11) { import_pre_11(); // Call the function for versions before Reader 11 } else { import_11(); // Call the function for Reader 11 and later } } catch (e) { app.alert({ cMsg: "An unexpected error occurred. Error: " + e.message, cTitle: "Unexpected Error", nIcon: 3, nType: 0 }); console.println("Unexpected error details: " + e.message); // Log to console for debugging } }

  • @IgniteAT
    @IgniteAT 3 місяці тому

    This is helpful! What type of Canva document/design are you using to have several pages?

    • @sarservices
      @sarservices 3 місяці тому

      Theres lots of multiple pages template in canva, search in business document keyword.

  • @bettievonsweetz9978
    @bettievonsweetz9978 3 місяці тому

    Hello, I have a vendor form that has listed the vendors address , I want to add a checkbox to pre populate the remittance address if they have the same remittance address. Can you please advise?

    • @sarservices
      @sarservices 3 місяці тому

      You need a dependent checkbox custom script that will validate the selection of vendors list and then populate remittance address. Feel free to contact me privately to discuss it further.

  • @joelhorton8298
    @joelhorton8298 3 місяці тому

    is they're not a simplier way?

    • @sarservices
      @sarservices 3 місяці тому

      Hello Joel, If you're not familiar with coding, feel free to contact me privately (sarservices7987@gmail.com). I'd be happy to assist you, and we can discuss the details

  • @12000r4n
    @12000r4n 4 місяці тому

    Do you have any tutorial on cascading three dropdown box in pdf? I can't make it work. I have tried if else if and else, I tried the switch and nothing works. I have three dropdown which is Facility, Floor, and Area. Please help!!!

    • @sarservices
      @sarservices 4 місяці тому

      You can use this exact same script in the second dropdown. Just change the data.

    • @12000r4n
      @12000r4n 3 місяці тому

      @@sarservices Hi there, I tried and it didn't work. Would you happen to have any other suggestions? I want to have the facilities' names, and some of the facilities have a different floor and correspond to that floor, I want to show all the locations on that floor.

    • @sarservices
      @sarservices 3 місяці тому

      @@12000r4n I helped many clients with similar tasks, and I can assist you as well. send your pdf document at sarservices7987(at)gmail(.)com.

  • @jerrywil7012
    @jerrywil7012 4 місяці тому

    The Javascript condition works well in Acrobat, but as soon as I open my file as a PDF outside of Acrobat, the condition tracking doesn't work anymore... is that normal?

    • @sarservices
      @sarservices 4 місяці тому

      Yes, JavaScript is not supported in all PDF viewers.

    • @jerrywil7012
      @jerrywil7012 4 місяці тому

      @@sarservices Thank you for answering. Do you have a solution for that?

    • @sarservices
      @sarservices 4 місяці тому

      @@jerrywil7012 First i have to check the script that you're using and then i can able to give you alternative way/code.

  • @AhsanSuhaib
    @AhsanSuhaib 4 місяці тому

    Thank you very much. I used the script and it worked to show/hide the text field based on checkboxes. However, I want to show/hide checkboxes based on checkboxes as well. Is there any other script or something that can work for this. Please let me know. I would really appreciate it!

  • @mahmoudhamdy9061
    @mahmoudhamdy9061 4 місяці тому

    hi can you put the code to download it

  • @DianeCamacho925
    @DianeCamacho925 4 місяці тому

    Nice, simple and quick video. Thank you!

  • @12000r4n
    @12000r4n 4 місяці тому

    Is there a way to create multiple dependent dropdown menus? For example, I want to make the Country, the State, and City Category.

  • @lemonsrj
    @lemonsrj 4 місяці тому

    This was a lifesaver. I've been searching and reading different websites all day. Watched your video and finally know what to do. Thank you!

  • @AniyahSpann
    @AniyahSpann 4 місяці тому

    I am getting an illegal character at line 2 and not sure how to resolve

    • @sarservices
      @sarservices 4 місяці тому

      I don't have your script in front of me, so I can't help much. However, ensure that there are no typos, as JavaScript is case sensitive.