• Resolved rotertal

    (@rotertal)


    Dear CFF-Team,

    I’m sure you can help because I’m a helpless newbie … ??

    I have several calculated fields with simple equations (e.g. multiplication, generating random numbers, etc.) put into the the “Set equation” Box. I’m using a button (calculation option) and everything works perfectly fine. Is it possible to only calculate specific fields when I hit my button and keep the other fields just like they are?

    I tried out the options provided in this forum, for example:

    jQuery(‘[id=”fieldname1_”]’).val(‘0’)
    jQuery(‘[id=”fieldname_”] :input’).val(”)

    and also the “ignorefield” via CSS but it either sets a value, clears it (which is already good because I also need that) or lets the field dissapear. I also tried something like caluculate, execute, etc. but ultemately I’m clueless (blush).

    Important note: I need to display my fields all the time, I do not want to have the option to dynamically execute the equations (since I only need specific fields) and finally it would be great to keep my equations in the box instead of putting it into the jQuery code (I saw something with function () ..)

    Kind regards,
    Marcella

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Only calculate specific fields when hitting a button’ is closed to new replies.