Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.
Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
By Simy90
#813623
Hi everyone, it's my first post here so I hope I'm in the right section.

My problem is this.
I have a process with two tasks and two dynaforms.

This is the first dynaform.
Image

I choose one option for 'Pallet' and one for 'Merce' and then i can continue to the next dynaform, that is the following.

Image

Now all the data in this second dynaform are retrieved from a database, based on the choices I made in the previous dynaform. I would like to sum 'Costo1' and 'Costo2' to obtain 'Costo totale'. I tried writing a formula in the textbox 'Costo totale' but, as you see, it doesn't work.

I tried to be as clear as possible.I hope someone can help me solving this.
By Simy90
#813702
Thanks for the reply.

I tried editing formula and using id of the two fields but it doesn't seem to work. Eventually, i found some javascript code in this forum and it works. I used the following code:

var newVal = parseFloat($("#risultati").getValue()) + parseFloat($("#risultati1").getValue());
$("#risultatifinali").setValue(newVal);

Bye
What's SAP FICO?

Trustworthy and skill-building, each of these actu[…]

To convert MBOX to PST, start by downloading and i[…]

My Assignment Services stands out as one of the be[…]

Erectile Dysfunction, commonly known as impotence,[…]