Passing Default Values to Forms with special character's

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
User avatar
webform
Power Poster
Power Poster
Posts: 497
Joined: Sat Nov 25, 2006 3:39 pm
Location: Copenhagen, Denmark

Passing Default Values to Forms with special character's

Post 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?
Post Reply

Return to “Modules/Add-Ons”