I have created custom module which have two fields, supplier_name and customer_name.
I also create a custom button in detailview called getRecord.
At the moment I need to get the value entered by user when I click the button
I just want to echo it for the moment just to see if i can reference the field, then I will continue with other part which is creating webservice response which includes the field values and post it.PHP Code:array (
'DetailView' =>
array (
'templateMeta' =>
array (
'form' =>
array (
'buttons' =>
array (
0 => 'EDIT',
1 => 'DUPLICATE',
2 => 'DELETE',
3 =>
array (
'customCode' => '<input type="button" value="getRecord" name="button" onClick={field_Value};/>',
),
Can you please help me out here


LinkBack URL
About LinkBacks



Reply With Quote


Bookmarks