Multi-lines text-input area

Hi There.

I searched a bit but could not find any useful answer yet. I'd like to get a text entry area in DB, in which I could put some content using any copy/paste, or get some pre-populated content which might be edited before sending over in the workflow.

Kind of text I would like to paste is a SDP file, like this :

v=0
o=jdoe 2890844526 2890842807 IN IP4 10.47.16.5
s=SDP Seminar
i=A Seminar on the session description protocol
u=http://www.example.com/seminars/sdp.pdf
e=j.doe@example.com (Jane Doe)
c=IN IP4 224.2.17.12/127
t=2873397496 2873404696
a=recvonly
m=audio 49170 RTP/AVP 0
m=video 51372 RTP/AVP 99
a=rtpmap:99 h263-1998/90000

Does anyone have any suggestion ?

Thanks !

Jerome

Maybe this topic will help

Nice ! will give it a try.

Thanks a lot

Hi,

I tried this and looks close to what I want to achieve, thanks for that.

From waht I could see, it will send the payload as soon as we change something in the box. What would be the best way to edit text and then have some kind of Enter/validate button once edit is done, to send the content as payload ?

Thanks

Store the text value in flow or global context variable using a change node.

Add a ui-button node. Wire that too another change node to grab the stored context value and put it into payload.

You could also add a button node, then join the two nodes as key value object using topic on each node with a count 2 and ever subsequent checked. After join add a switch node to only pass the button topic on. You would then get an object containing the latest textarea output and the button output.

There are many examples of this on the forum.

Thanks to oyu both, I'll test that .

Jerome

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.