Get/set Values from custom fields inside edit/new form
Get/set Values from custom fields inside edit/new form
Hello, I have a custom field like this in my new/edit form:
[code] conf._input = $(
''+
'
'+
''+
''+
''+
''+
''+
''+
''+
''+
''+
''+
''+
''+
''+
'');[/code]
It appears inside form correctly, what I need is to get and set de value in and from input id horaF from data, and really I can't understand how to do this with provided examples, can you please, help me?
[code] conf._input = $(
''+
'
'+
''+
''+
''+
''+
''+
''+
''+
''+
''+
''+
''+
''+
''+
'');[/code]
It appears inside form correctly, what I need is to get and set de value in and from input id horaF from data, and really I can't understand how to do this with provided examples, can you please, help me?
This discussion has been closed.
Replies
"get": function ( conf ) {
return $('button.selected', conf._input).attr('value');
},
"set": function ( conf, val ) {
if ( ! conf._enabled ) {
return;
}
Butnot sure how to do it :/
I see your trial of Editor ended back in September. Do you have any questions regarding its licensing and how that might apply to your use case? if so, please do just get in touch!
Allan
Thanks for purchasing Editor! I e-mailed the invoice over this morning. It was sent to the same e-mail address that you used to signup for your DataTables account. Possibly it ended up in your spam folder? If not, let me know and I'll send it again.
I'll take a look at your question about custom fields shortly.
Allan
Thanks