Fieldtype

Archived
Forum
(read-only)

Steve Callan does not actively monitor this forum
(but you can still get help from other EE users).

Query Field

ExpressionEngine 2

Back to this add-on's main page
View Other Add-ons From Steve Callan

     

You must be logged in to post.

Unable to use Query Field in SafeCracker

Support Request

snafford
snafford

I have a Query Field field I need to use in SafeCracker. It works fine in the CP Publish and Edit forms but when I use it in a SafeCracker form I get the following error:
  “The query you submitted is not valid.

  Filename: third_party/query_field/ft.query_field.php

  Line Number: 41”

The query works fine in mySQL.

Here is my Safecracker code:
. . .
  <label for=“fv_funding_type”>Funding Type :</label>
        <input type=“text” name=“fv_funding_type” id=“fv_funding_type” value=”“>
        {field:fv_funding_type}
        <select id=“fv_funding_type” name=“fv_funding_type” class=“required”>
            {options:fv_funding_type}
                    <option value=”{option_value}” {selected}>{option_name}</option>
            {/options:fv_funding_type}
        </select>
. . .

Any idea what I am doing wrong?