Purpose of Hidden Fields in each control Holder

53 views
Skip to first unread message

Jayaraman Kumar

unread,
Feb 22, 2013, 10:56:30 AM2/22/13
to jquery-form-b...@googlegroups.com
 Hi Lim,

I know that you store the settings in ctrl holder using data() method.
ex:
  _createFbWidget: function (event) {
....
$ctrlHolder.data('fbWidget', settings);

....}

do we still require set of hidden fields in each ctrl holder. can we no do with data() method everywhere? any specific reason you used this.
More and more controls you add it to the form it becomes heavy.
Can you comment on this ?

Thanks.

Chee Kin Lim

unread,
Feb 22, 2013, 10:53:55 PM2/22/13
to jquery-form-b...@googlegroups.com
Hi Jay,

The purpose of hidden fields is to submit settings of the control to server-side. That's the key part of server integration. Then the Form Viewer able to render the form according to settings stored in database.

Hope this clarify.

Best regards,
Chee Kin




--
You received this message because you are subscribed to the Google Groups "JQuery Form Builder Plugin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jquery-form-builder...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Jayaraman Kumar

unread,
Feb 25, 2013, 8:21:04 AM2/25/13
to jquery-form-b...@googlegroups.com
Thanks for the reply.
To unsubscribe from this group and stop receiving emails from it, send an email to jquery-form-builder-plugin+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages