CC6 - undesired triggered event on change at start

gix.vax 11 Dec, 2022
Hi

i have a CC6 list that open a form USED to modify or insert data.

short version:
Is there a way to prevent onchange trigger of a dropdown at form load?


long version:

In form there is a dropdown: onchange i reload a series of fields

Those fields need to be calculated separately and every field trigger a query read_data then they're values are added in some ways with conditions based on other fields in form in a Total field.
Those fileds value could be modified by user after auto-onchange-calc so another function calculate total.
All works fine if i insert: form is empty so i have nothing in dropdown and calculate is triggered onchange and/or manual insert.

The problem is if i open in modify mode
At start fields are automatically calculated so if user had inserted values manually, they are overwritten.
Is there a way to prevent onchange trigger of my dropdown at form load?
You need to login to be able to post a reply.

VPS & Email Hosting 20% discount
hostinger