bostjanlaba
Forum Replies Created
-
Forum: Plugins
In reply to: [Calculated Fields Form] Resetting the form by dropdown changeThank you. Perfect.
Forum: Plugins
In reply to: [Calculated Fields Form] Resetting the form by dropdown changeWorks, thank you.
Just as a side question, is it somehow possible to use field value’s substring for conditionals?
Like my dropdown has:
Car|1
Truck|2
Ship|3I use 2nd column for calcuations (1,2,3 in this example), which works. But sometimes I need to do (example):
IF fieldname3_1.column1 has value “Ca” in the string THEN…Of course inside the plugin I still leave values from column2 to be used for calculations.
Is it possible to create such query?
Thanks
Bostjan
Forum: Plugins
In reply to: [Calculated Fields Form] Resetting the form by dropdown changehttps://tehnicni.info/?cff-form=7
Start changing selection in first field and you will notice, the field won’t “stay” on your selection but rather reset itself also.
Forum: Plugins
In reply to: [Calculated Fields Form] Resetting the form by dropdown changeYes, of course, I understood that from first message 🙂
However, reset still influences all the fields, including this first field.
Forum: Plugins
In reply to: [Calculated Fields Form] Resetting the form by dropdown changeI was just a bit too quick on the result. How do I exclude first field from resetting? Because now I change the field and it resets everything properly along with the first field (“fieldname1_”) itself which is not correct.
Thank you.
Forum: Plugins
In reply to: [Calculated Fields Form] Resetting the form by dropdown changeWow, amazing!
Thank you, your support is the best!
Bostjan
Forum: Plugins
In reply to: [Calculated Fields Form] Resetting the form by dropdown changeHi,
the code does reset everything but not to default calculated values (as reset button does) but to null values. So all calculated fields become empty…
Thank you!
Bostjan
Ok, understood, thanks for the explanation.
Let say that this 49.1999996 result is a sub result. Taking this result (without PREC) further into next equation will make the result actually wrong or is this just a “display” problem? In other words, do I need to PREC this sub result before taking it into next equation or not?
Thanks
Bostjan
Ok but this seems like a workaround.
I mean if my equation is:
10 * 1 + 5 + 10.10, it should be resulted as 25.10, not 25.0999999991Right?
Forum: Plugins
In reply to: [Autoptimize] Inline CSS not regeneratedOkey dokey, thanks!
Forum: Plugins
In reply to: [Autoptimize] Inline CSS not regeneratedThe setting that matters is this:
Also aggregate inline CSS?If enabled it “ignores” my custom css (added after Autoptimize was installed). If I disable it, my css is in effect.
So my guess it the RE-aggregation of CSS files does not happen on cache emptying.
Bostjan
Forum: Plugins
In reply to: [Code Snippets] Function from included php file not workingI will try this, thanks.
Forum: Plugins
In reply to: [Code Snippets] Function from included php file not workingHi, in the snippet.