- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hello @jitendrak
You will have to create a javascript function to do this.
Here is an example
<script>
function updateCtxValues(){
var purchaseNumber=document.getElemebtById('purchase_number').value;
document.controller.setValue('/ctx/vars/my_purchase_number', purchaseNumber);
}
</script>You will have to call this function on the form submission by onclick event
<input type="button" onclick="updateCtxValues()" value="submit">Also, make sure your purchase number input has an id attribute of value "purchase_number"
Let me know if that works.
Thanks
Views
Replies
0 Likes
Total Likes