Quantcast
Channel: Using Optimizely Platforms
Viewing all articles
Browse latest Browse all 8020

how to overcome "Unexpected value is not accepted" validation on form submission

$
0
0

Hey Everyone,

I am making a custom optionItem element and would like to pass a value and an email as the value, like so...
<option value="<%: item.ValueAndEmail %>"<%= selectedString %> <%= defaultSelectedString %> data-f-datainput><%: item.Caption %></option>

The problem is, validation does not like this and I get the following message:  "Unexpected value is not accepted".

How can I get around this?


Viewing all articles
Browse latest Browse all 8020

Trending Articles