Real-time field calculation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sumservis
    Member
    • Sep 2019
    • 56

    Real-time field calculation


    Hi, I would like the result of several possible fields with TAX. Only one field will be filled in at a time ... So it will be the result based ... Example: skutenPjem * 1.21 or skutenNklady * 1.21 I always have to reckon with the fact that the user selects a field, and I will have to add 21% to it thank you for your help

    My code:
    PHP Code:
     "vypocitejdph": {
    "type": "currency",
    "notStorable": true,
    "readOnly": true,
    "select": {
    "select": "MUL:((plnovanPjem,skutenPjem,skutenNklady,plnovanNklady), (dPH/100))"
    }
    }, 
    
  • esforim
    Active Community Member
    • Jan 2020
    • 2204

    #2
    I'm guessing you want it to Calculate before you press "Update/Save"? I think only the Invoice/Quote system can do 'live' calculation. You can have a look at that to see how they did it. Unfortunately it is a paid extensions.

    Comment

    Working...