ARForms Blog

arf_form_fields_outside

Last Updated On February 23, 2018

Usage:


add_filter('arf_form_fields_outside', 'your_function', 10, 2);
function your_function($field_json, $input_style){

foreach ($field_json->field_data as $key => $value) {
foreach ($value as $data_key => $data_value) {
if($data_key == 'KEY'){
$field_json->field_data->$key->$data_key = DEFAULT VALUE;
}
}
}

return $field_json;

}





Parameters:




$field_json

JSON array of fields data.




$input_style

Form inputs style.



Comments are closed.

© 2019 Repute InfoSystems - All Rights Reserved. Our Other Products ARMember and ARPrice Plugin

Subscribe To Our Newsletter For
Best Monthly Offers & Discounts!

Be a part of our subscription and stay updated with the latest deals we offer.
Subscribe Me!
No Thanks!
close-link