How to populate Predefined Value from Global Variable?
-
Hello,
How can I pass the value from the global var from the shortcode as a predefined value?
My steps
1. I’m passing the value from the global variable in shortcode like this:
[CP_CALCULATED_FIELDS id="6" testvar="105"]
See here https://i.imgur.com/PVgAr2U.png2. Then I use
testvaras a Predefined Value forfieldname2.
See here https://i.imgur.com/v5RC12X.png3. I expect the value by default will be 105 and the calculated field will show 105*2. However, on the page I see “testvar” and not “105” in that field. See here https://i.imgur.com/Ir3joQe.png
Please help to figure it out.
Thanks!
The page I need help with: [log in to see the link]
The topic ‘How to populate Predefined Value from Global Variable?’ is closed to new replies.