My first post on this forum.
I'm currently working on a migration of Joomla 3 towards Joomla 4. On Joomla 3 I used Breezingforms, but since its not developed anymore I am looking for an alternative so I came to ChronoForms.
I've recreated my form but there are a couple of things which I am not able to get it working on ChronoForms. For example, I use calculation on fields in the form.
In breezingforms I used the following;
function ff_fd_volwassenen_action(element, action)
{
ff_getElementByName('fd_bedrag').value =
Number(ff_getElementByName('fd_volwassenen').value) * 24 +
Number(ff_getElementByName('fd_kinderen').value) * 15;
}
// ff_fd_volwassenen_action
Basicly it get the input of 2 fields, multiply it and sum it to a total.
Is this possible to get it working on ChronoForms?
I'm currently working on a migration of Joomla 3 towards Joomla 4. On Joomla 3 I used Breezingforms, but since its not developed anymore I am looking for an alternative so I came to ChronoForms.
I've recreated my form but there are a couple of things which I am not able to get it working on ChronoForms. For example, I use calculation on fields in the form.
In breezingforms I used the following;
function ff_fd_volwassenen_action(element, action)
{
ff_getElementByName('fd_bedrag').value =
Number(ff_getElementByName('fd_volwassenen').value) * 24 +
Number(ff_getElementByName('fd_kinderen').value) * 15;
}
// ff_fd_volwassenen_action
Basicly it get the input of 2 fields, multiply it and sum it to a total.
Is this possible to get it working on ChronoForms?