So I have a form at my portal that hhave 3 input fields that are supposed to get numbers. And I want that the product of those fields were set at another field, the field 4.
I've just made some javascript code to do that trick:
The fields I have in the javascript code are required into the form that will be sent do next step of my pool...and I just realized that this javascript and HTML stuff will not record anything into my variables. :(
Now I have another problem to solve... and need directions again. :(
I've still not found a way to make my Javascript code 'talk' with my Bonita Variables. =/
Diggin on the bonita's website I've found something that maybe will help. It's an answer for a question made about the Bonita 5.9, basically the same question I'm doing now.
Hi,
Javascript has access to your web forms only.
You could have access your form fields values for instance.
If you want to access Bonita remotly, you could use Js to communicate with the REST API over Http.
pronounce my name is easy: "An", then just add the "T" and the number "1" pronounced like in english. I will thank Alinka for that ;-). About javascript, I don't have a background as a developper and I figured how to do it for the quick tip, I am sure you can handle that ;-)
Yeah, she pronounced it perfectly. I'm not. Just finished calling you 'Antonio'. =p I'll practice.
About the javascript...didn't got your point about 'quick tip'. It's friday and I'm kinda slow after lunch. =P
I'm trying to figure out a way to get the values set at the javascript and set it to my variables but it will be hard to do, I guess. I will need to study a bit more of javascript and HTML. When I have some answer I'll set it here :)
I can give it a try, however I'm not quite sure how. But I'll try, hehe.
I have an HTML field that contains all my Javascript code. There are 4 fields and 1 function. I'd need then 4 HTML field widgets and a JS file with the function I guess.
Well, let me start trying and see if I can get something.
Bonitasoft empowers development teams with Bonita, the open-source and extensible platform to solve the most demanding process automation use cases. The Bonita platform accelerates delivery of complex applications with clear separation between capabilities for visual programming and for coding. Bonita integrates with existing solutions, orchestrates heterogeneous systems, and provides deep visibility into processes across the organization.