Hello,
I want to ask if I can pass in my form a hidden field with custom value using the function
echo ossn_view_form( blah blah......
Thank you!
You can pass the value to action
> "action" => ossnsiteurl() . "action/profile/deepost/deeposteditaction?id=".$values->id,
Hello Arsalan....thank you for your answer....
I want to pass this value from other file and the value is in foreach loop,
for example I have ......
foreach($deepost_edituser as $key => $values){
echo ossn_view_form('deeposteditform', array(
'component' => 'OssnProfile',
'id' => 'editform',
'class' => 'deepostform-form-'.$values->id,
'action' => ossn_site_url() . 'action/profile/deepost/deeposteditaction',
), false);
}
I want to pass in deeposteditform the "$values->id"
You don't need a ossnviewform to pass hidden field just create hidden input field in your form page.
Due to the many requests in the past for additonal features and components we have decided to develope a premium version. Features like Hashtags, Videos, Polls, Events, Stories, Link Preview, etc included in it.
$199 (Life Time)