XForms/Selecting Text

Motivation
You want to use a selection list to conditionally populate a text area.

     

Enter a message in the text area below and press the "Submit via HTTP POST" button. {$style}

 Message Type:  Test Message 1 test-message-1   <xf:label>Test Message 2</xf:label> <xf:value>test-message-2</xf:value> </xf:item> <xf:item> <xf:label>Test Message 3</xf:label> <xf:value>test-message-3</xf:value> </xf:item> </xf:select1> <xf:textarea ref="current-message"> <xf:label>Message:</xf:label> </xf:textarea> <xf:submit submission="post-test"> <xf:label>Submit via HTTP POST</xf:label> </xf:submit>