Hello!
I have an edit event that has an upload action. Whenever I try to edit the form my upload fields get a null value. In version 5 I could prevent this by using a custom code action with a code like this:
if(!empty($form->data["logo"])){
$form->data["sdata"]["logo"] = $form->data["logo"];
}
But I don’t know how this can be done now.
I’ll appreciate your help very much!🙂
I have an edit event that has an upload action. Whenever I try to edit the form my upload fields get a null value. In version 5 I could prevent this by using a custom code action with a code like this:
if(!empty($form->data["logo"])){
$form->data["sdata"]["logo"] = $form->data["logo"];
}
But I don’t know how this can be done now.
I’ll appreciate your help very much!🙂