get("read_data8.load_store.created_by_alias"), true);return $store;​and in custom code{var:php36_get_storename}​I assume my syntax is wrong in the PHP but can't figure out why​I have a custom code after my "read_data8" with the following (not sure if this affects anything){var/jsonen:read_data8}"> Proper Syntax to get Value From Dropdown - Forums

Forums

Proper Syntax to get Value From Dropdown

cre8tivemedia 13 Jan, 2019
Having trouble displaying on screen the current selection from a dropdown.

this is what I have for PHP named "php36_get_storename"
$store = json_decode($this->get("read_data8.load_store.created_by_alias"), true);
return $store;

and in custom code
{var:php36_get_storename}

I assume my syntax is wrong in the PHP but can't figure out why

I have a custom code after my "read_data8" with the following (not sure if this affects anything)
{var/jsonen:read_data8}
healyhatman 13 Jan, 2019
You don't have anywhere in that code referencing a dropdown, just a read data action.
This topic is locked and no more replies can be posted.