Trying to use the returned value from a php function for the Selected Value in a drop down. But it doesn't appear to work. Can returned values be used in the Selected Value field?
In the Selected Values field of the drop down I am putting {var:get_parent_id}. I am running {fn:get_parent_id} in the Event just before the view:form. To make sure the function is properly returning a value, I used the same {var:get_parent_id} in a text field of the same form, and it is showing the correct value.
Yes, this feature was does not exist in the latest release, but i have just fixed it, if you need the patch file before the official update then please send me a message using the "Contact us" page.
Best regards, Max
Max If your main question got answered then please mark the answer using the button! Please let us know if you have any problems with the new forums text editor, we appreciate your feedback!
Yes, that should be working already, the var is working in a field "label" but not in the "selected value" ?
Best regards, Max
Max If your main question got answered then please mark the answer using the button! Please let us know if you have any problems with the new forums text editor, we appreciate your feedback!
The syntax "status:{data:ddstatus}" is enough, but the "/-" means that if the shortcode returns nothing then ignore that parameter in the query, I guess it worked for you because you do not usually have the status field available.
Best regards, Max
Max If your main question got answered then please mark the answer using the button! Please let us know if you have any problems with the new forums text editor, we appreciate your feedback!
This is good, but how do you get it to return just non-null records? When I use a where condition, with or without the /- I get back whatever number of is set in the limited dialog (this is using CC v6.06) or just all of the null records
Max If your main question got answered then please mark the answer using the button! Please let us know if you have any problems with the new forums text editor, we appreciate your feedback!
Trying to use the returned value from a php function for the Selected Value in a drop down. But it doesn't appear to work. Can returned values be used in the Selected Value field?
In the Selected Values field of the drop down I am putting {var:get_parent_id}. I am running {fn:get_parent_id} in the Event just before the view:form. To make sure the function is properly returning a value, I used the same {var:get_parent_id} in a text field of the same form, and it is showing the correct value.
Thanks -
-Brian
Yes, this feature was does not exist in the latest release, but i have just fixed it, if you need the patch file before the official update then please send me a message using the "Contact us" page.
Best regards,
Max
If your main question got answered then please mark the answer using the button!
Please let us know if you have any problems with the new forums text editor, we appreciate your feedback!
is this in "ChronoConnectivity_V6.0.3_Component.zip" now exist?
I try some versions, but it dosnt work
Best regards,
Corinne
Yes, that should be working already, the var is working in a field "label" but not in the "selected value" ?
Best regards,
Max
If your main question got answered then please mark the answer using the button!
Please let us know if you have any problems with the new forums text editor, we appreciate your feedback!
Now, the dropdown selection works, but i dont know how i can give the first value for the load. Actually it shows nothing.
Debugger:
Where can i set the first value "status = offen" is my big question
Thank you
Corinne
This work
Nice, nice, nice
The syntax "status:{data:ddstatus}" is enough, but the "/-" means that if the shortcode returns nothing then ignore that parameter in the query, I guess it worked for you because you do not usually have the status field available.
Best regards,
Max
If your main question got answered then please mark the answer using the button!
Please let us know if you have any problems with the new forums text editor, we appreciate your feedback!
You can use the syntax
Best regards
If your main question got answered then please mark the answer using the button!
Please let us know if you have any problems with the new forums text editor, we appreciate your feedback!