Hello Sergey, I think I just found a bug.
Please let me explain:
I have the drop-down field field 'Tip' with ID 405. This drop-down field has 3 Fields Choices: Livrare ID 123 Value 20, Colectare ID 124 Value 0 and Parcare ID 150 Value 5.
Than I have field 'Suma incasata' ID 416 Input Numeric field and I have in this field Minimum value [405] , that is the ID of the drop-down field. When I edit the entry as a regular user or as an admin, the Minimum value of field [405] is returning the IDs of the drop-down field choices 123, 124 and 150 instead of the values of the drop-down field choices 20, 0 and 5, so I can not set up a minimum value for the 'Suma incasata' field based on the user choice from the drop-down field 'Tip' ID 405.
Please fix this when you have time, in my opinion this is a important feature of Rukovoditel. Thank you.
Apply the field value does not work from drop-down list field
- support
- Site Admin
- Posts: 6215
- Joined: 19 Oct 2014, 18:22
- Name: Sergey Kharchishin
- Location: Russia, Evpatoriya
Re: Apply the field value does not work from drop-down list field
You can't use min/max value directly from dropdown. Only input fields allowed.
But in your case solution will be next:
Create field type Js Formula with formula:
where 157 is your dropdown field ID
So in result Js Formula just displays value from dropdown and now you can use this value as min/max.
So in numeric field use Js Formula field ID to setup min/max value.
Let me know if it works ok for you.
But in your case solution will be next:
Create field type Js Formula with formula:
Code: Select all
get_value([157])
So in result Js Formula just displays value from dropdown and now you can use this value as min/max.
So in numeric field use Js Formula field ID to setup min/max value.
Let me know if it works ok for you.
Re: Apply the field value does not work from drop-down list field
Hello, Sergey, and thank you for your quick answer (and during weekend also).
Unfortunately it didn't work, the function is returning 0.00 value no matter what value I have in the drop-down field, but your answer gave me new opportunities, so thank you!
Unfortunately it didn't work, the function is returning 0.00 value no matter what value I have in the drop-down field, but your answer gave me new opportunities, so thank you!