I have a form that contains a invisible textfield. I set the value of the
textfield, and when i submited the form the value of the textfield should be
submited with it. Here is my code. The ${transactionQuote.XXX} contains the
value of the object. If you scroll down, you can see a form and in that form
i set the value to the textfield using
t:value="${transactionQuote.pickupQuoteID}". Now when i submit the form i
want the value in the textfield to be submitted with it. But the value seems
to be written but not read ? What am i doing wrong ?
${message:date-sent}
${transactionQuote.dateOfTransaction}
${message:recipient}
${transactionQuote.recipientName}
${message:amount}
${transactionQuote.transactionAmount}
${message:unique-id}
${transactionQuote.transactionId}
${message:sender}
${transactionQuote.senderName}
${message:location}
${transactionQuote.senderCountry}
<t:form t:id="processQuoteForm" t:zone="searchTransactionZone">
<div style="visibility: hidden; display:inline;">
<input t:type="textField" t:id="dispenseCashForQuoteID"
t:value="${transactionQuote.pickupQuoteID}"
t:validate="required,minlength=5" class="txtFld"
style="display:block;" />
</div>
<p class="transaction-chk"><input name="confirm" type="checkbox"
value="" /> Confirm recipient's identity by reviewing ID </p>
<p class="transaction-Fld" style="margin:0 auto; width: 360px;">
<label>Phone Number </label>
<input t:type="textField" t:id="dispenseCashForTelephoneNumber"
t:validate="required,minlength=5" class="txtFld"
style="display:block;" />
<label>Confirm Code </label>
<input t:type="textField" t:id="dispenseCashForTransactionID"
class="txtFld" style="display:block;"/>
</p>
<input type="submit" value="Dispense Cash" class="search-btn" />
</t:form>
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Submitting-a-value-from-a-Form-tp5718882.html
Sent from the Tapestry - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]