Announcement

Collapse
No announcement yet.

Real-time field calculation

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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))"
    }
    }, 

  • #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...
    X