Copy link to clipboard
Copied
Hi,
Firstly, an apology. This is a similar post to previous ones. The reason I am creating a new post is that I have absolutely no idea what Javascript is, let alone how to write/read it! I know I need it for my order form to perform a custom calculation. (Price per unit varies depending on quantity) Could someone take a look at my form and offer me some code to copy and paste. I'm sorry to ask for it as blatant as that but I just have no idea where to start and I don't rate my chances of succeeding if I have something to work out or adapt froma previous post!
I have created an order form which I hope to attch to this post.
One last thing, is there a way of having someone input a phone number and the cursor moves to the next field automatically? I like my phone numbers like 69851 639 548 instead of 69851639548 (excuse the number's - a series of x's is apparently unnaceptable on this forum) and it would work much better if this was seamless for the user.
Thanks in advance and please know, that any help will be greatly appreciated!
Ash.
Copy link to clipboard
Copied
With no understanding of JavaScript and how it interacts with form fields in Acrobat, your chances of succeeding even with copy/paste code is also very low. You probably won't understand the answer and there'll be a lot of churn as we all try to straighten you out.
You're going to want to hire someone to do this for you. Many of the people who offer advice here also make a living performing services for people who can't do it themselves. Alternatively, you might want to actually spend some time learning JavaScript since I doubt this is the only form you have. See the URL below.
http://khkonsulting.com/2017/01/learning-to-program-javascript-for-adobe-acrobat/
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Although you think an invoice is a simple form, that is far the actual fact. Each field in the form has to be uniquely nsmed and for the table of the purchased/ordered items one need an easy way to identify the fields in any given row. You may also need to comply with certain governmnet rquirements as to the rounding of values for tax calculations that could inclued VAT or Sales Tax. You need to do more research in how to create and name forms and you will need to learh Acrobat JavaScript if you want a fully automated form.
If you hire someone try to have them teach you some of the basics as to how the form works.
There are a number of free learning resources on the web.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied