- This topic has 5 replies, 2 voices, and was last updated 3 months ago by .
-
Topic
-
I have a number field “Lenght” and a number field “Width” (Lenght = 2, Width = 3 >> 2 x 3 = 6).
Now I want to calculate the default value of a third field called “Square Meters” based on the value of the two mentioned fields (in this case 6). Or it should be used as a conditional logic operator. How I can do this?Is this a case of custom callback with jQuery (function xx() { return true; })?
Can you explain and show this using the above mentioned simple example.
What I have to enter in the graphical MB-Builder in field > General > Default value?
And where I have to place the jQuery to calculate? Inside that field or in an html-script tag?//////////////
Is there a way to
a) hide the standard success or error messages (on MB-form-level and on single field level) not using css-hide and
b) catch the values with jQuery script (please create a small/simple example)//////////////
Which jQuery is needed (frontend/backend) to work with metabox?
What happens if I change WordPress to the newest version?
- You must be logged in to reply to this topic.