4 Apr 2011 8:10 AM #1
submit md5 encoding of a form field
Hi all, I'm trying the form example of the FormPanel api docs ( http://dev.sencha.com/deploy/ext-4.0...FormPanel.html ). It works fine but what if i need to submit a md5 encoding of a value?
How can I do the encoding before the form being submitted ?
And when it's gone Ext.util.md5 function? Do I have to use external code (for example jquery) for doing that?
Thank you very much
edit: May I have to write my own submit method through Ext.Ajax.request, wonder if extjs can do that for me. Also writing my own method still I have to use another framework for doing the encoding?
4 Apr 2011 10:08 AM #2
You could create a model to represent the contents of your form then use getForm().updateRecord() to set the fields and finally save the record.
By LisburnLad in forum Ext 2.x: Help & DiscussionReplies: 6Last Post: 30 May 2012, 5:12 AM
By brizardh in forum Ext.DirectReplies: 0Last Post: 28 Sep 2010, 5:40 AM
By citress in forum Ext GWT: DiscussionReplies: 0Last Post: 5 May 2010, 3:18 PM
By ysolomonrr in forum Ext 3.x: BugsReplies: 1Last Post: 24 Nov 2009, 2:24 AM