Page 1 of 1

Passing Default Values to Forms with special character's

Posted: Fri Feb 07, 2025 2:12 pm
by webform
I'm using FormBuilder 1.2 to edit a LISEInstance and passing default values from LISE to the form.

Code: Select all

{$ServerName = $item->title}
{FormBuilder form='my_form' value_fld877=$ServerName}
But if a LISE field contains special character's and the reciving FormBuilder Field is a Text Field the special character's are converted into its HTML entity ex.

Code: Select all

apostrophe ' converts to '
I've tried escape, unescape and replace, but all actions are ignored.

If the default value, containing special character's, are targeted at a FormBuilder Text Area, Hidden Field etc. the special character's are displayed correctly.

Am i missing something or could it be a bug in FormBuilder Text Fields?