# How to use msg.payload string value in JSONata?

**URL:** <https://discourse.nodered.org/t/how-to-use-msg-payload-string-value-in-jsonata/45443>\
**Category:** General\
**Created:** [10 May 2021 19:47 UTC](https://discourse.nodered.org/t/how-to-use-msg-payload-string-value-in-jsonata/45443 "2021-05-10T19:47:19Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Ranki](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ranki/32/41282_2.png) [@Ranki](https://discourse.nodered.org/u/Ranki)\
**Post date:** [11 May 2021 07:18 UTC](https://discourse.nodered.org/t/how-to-use-msg-payload-string-value-in-jsonata/45443/8 "2021-05-11T07:18:59Z")

</div>

Hi Wolff,

Maybe you should check out this entry in the forum (_btw_: I received it looking for „depending drop down“):  
[https://discourse.nodered.org/t/problem-with-drop-down-menu/34003](https://discourse.nodered.org/t/problem-with-drop-down-menu/34003)

There you find an option with msg.options to send the possible options for the dropdown; meaning: as soon as one value is selected in the first drop down you can serve the possible options to the second one.

_Update: just saw, that you know the msg.options already. :-/ - Do you definitely need to use the csv or does it maybe make sense to have the values in a function? Are the values updated regularly?_

Cheers  
Ranki

---

_[View the full topic](https://discourse.nodered.org/t/how-to-use-msg-payload-string-value-in-jsonata/45443)._
