Page 1 of 1
create a custom contract generator?
Posted: Thu Aug 15, 2024 10:21 pm
by alexoliveira
Hello friends,
I would like to know if I can create a tool where I can make a PDF contract generator available ? example:
https://reportei.com/gerador-de-contratos/
Re: create a custom contract generator?
Posted: Fri Aug 16, 2024 5:21 am
by wwonderfull
Possible but would require server sided coding along with JavaScript dynamic templating. But if you assume wwb then there is no built in or addons to do that kind of custom stuff.
And the site you gave also has some bugs or something some values which had been written after reediting it did not change the value.
Re: create a custom contract generator?
Posted: Fri Aug 16, 2024 6:53 am
by alexoliveira
I am really determined to create a contract generator where my clients can generate ready-made contracts and only change selected information, I will be grateful if you give me some direction on how to start
Re: create a custom contract generator?
Posted: Fri Aug 16, 2024 8:05 am
by BaconFries
There is a javascript/jquery library called
jsPDF available that will do this for you (or could). You can find it at the following:
jsPDF Note this is for reference only to be able to use you will need to understand how and where you insert the script(s)
correctly in the html of the page.
See the following using the jspdf script.
Example Note I did not create this it is only an example that I came across originally from
Stackoverflow when searching on this.
Re: create a custom contract generator?
Posted: Fri Aug 16, 2024 10:18 am
by wwonderfull
Yes as @baconfries has shared it is the perfect thing to get started with.
Re: create a custom contract generator?
Posted: Sun Aug 18, 2024 3:59 pm
by alexoliveira
thanks for the support team, you are wonderful
I will start
Re: create a custom contract generator?
Posted: Tue Aug 20, 2024 1:55 am
by alexoliveira
Bacon, I studied it and would like to know how to use this code in conjunction with wysiwyg to run in the same format?
Re: create a custom contract generator?
Posted: Tue Aug 20, 2024 3:05 pm
by BaconFries
Bacon, I studied it and would like to know how to use this code in conjunction with wysiwyg to run in the same format?
Sorry I cannot help you, the url was was information only that you have a basic understanding how to insert. Reading from the url, the script author can assist you to implement it into your page/site for a fee/payment.