<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Hmm.&nbsp; You could try adding <br>
    <br>
    required_for_create=permit_number<br>
    required_for_update=permit_number<br>
    <br>
    to your Layer.ini file...&nbsp; I can't see anything obvious in your
    files or in editor.php...<br>
    <font face="Garamond"></font>
    <pre class="moz-signature" cols="72">Best Regards,
Brent Fraser</pre>
    <br>
    On 6/15/2011 2:43 PM, Dara Olson wrote:
    <blockquote cite="mid:8A2304631A254C939C4E78B25548EA9A@GISWKSTN2"
      type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <meta name="GENERATOR" content="MSHTML 8.00.6001.19046">
      <style></style>
      <div><font face="Garamond">Greetings.</font></div>
      <div><font face="Garamond">I am having some problems with the
          feature editor setup.&nbsp; When I go to add a point&nbsp;feature it
          says, "Missing required field:", but no field is listed after
          the error.&nbsp; There seems to be no errors showing up in any of
          the logs either.&nbsp; Does anyone know why I might be getting this
          error?&nbsp; Below is the setup for the feature and editor.&nbsp; We are
          running GeoMoose 2.2.</font></div>
      <div>&nbsp;</div>
      <div>
        <div><font face="Garamond">Any help or suggestions would be
            greatly appreciated.</font></div>
        <div><font face="Garamond">Miigwech!</font></div>
        <div><font face="Garamond">Dara</font></div>
        <div>&nbsp;</div>
      </div>
      <div><font face="Garamond"><u>Table:</u></font></div>
      <div><font face="Garamond">CREATE TABLE
          permits.glifwc_permit_comments_points<br>
          (<br>
          &nbsp; gid serial NOT NULL,<br>
          &nbsp; file_name character varying,<br>
          &nbsp; description character varying,<br>
          &nbsp; georef_protocol character varying,<br>
          &nbsp; pdf_name character varying,<br>
          &nbsp; document_link character varying,<br>
          &nbsp; permit_number character varying,<br>
          &nbsp; the_geom900913 geometry,<br>
          &nbsp; date_lm date,<br>
          &nbsp; wbic character varying,<br>
          &nbsp; type_of_permit character varying,<br>
          &nbsp; CONSTRAINT glifwc_prior_acoe_comments_pkey PRIMARY KEY
          (gid),<br>
          &nbsp; CONSTRAINT enforce_dims_the_geom900913 CHECK
          (st_ndims(the_geom900913) = 2),<br>
          &nbsp; CONSTRAINT enforce_srid_the_geom900913 CHECK
          (st_srid(the_geom900913) = 900913)</font></div>
      <div><font face="Garamond">)</font></div>
      <div>&nbsp;</div>
      <div><font face="Garamond"><u>Sequence and register:</u></font></div>
      <div><font face="Garamond">A sequence was set up,&nbsp;p</font><font
          face="Garamond">ermits.glifwc_permit_comments_points_gid_seq
          and an entry in the "geometry_columns" table for field
          "the_geom900913", 900913, POINT.</font></div>
      <div>&nbsp;</div>
      <div><font face="Garamond"><u>Mapfile definition:</u></font></div>
      <div><font face="Garamond">LAYER # GLIFWC Permit Comments<br>
          &nbsp;&nbsp;&nbsp;&nbsp; NAME "glifwc_permit_comment_points"<br>
          &nbsp;&nbsp;&nbsp;&nbsp; TYPE POINT<br>
          &nbsp;&nbsp;&nbsp;&nbsp; STATUS ON<br>
          &nbsp;&nbsp;&nbsp;&nbsp; CONNECTIONTYPE postgis<br>
          &nbsp;&nbsp;&nbsp;&nbsp; CONNECTION "host=localhost dbname=xxxxx user=xxxxx
          password=xxxxx"<br>
          &nbsp;&nbsp;&nbsp;&nbsp; PROCESSING "CLOSE_CONNECTION=DEFER"<br>
          &nbsp;&nbsp;&nbsp;&nbsp; DATA "the_geom900913 FROM (SELECT *,
          ASTEXT(the_geom900913) AS wkt_geometry <br>
          &nbsp;&nbsp;&nbsp;&nbsp; FROM permits.glifwc_permit_comment_points) AS
          glifwc_permit_comment_points using unique gid using
          srid=900913"<br>
          &nbsp;&nbsp;&nbsp;&nbsp; PROJECTION<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; "init=epsg:900913"<br>
          &nbsp;&nbsp;&nbsp;&nbsp; END<br>
          &nbsp;&nbsp;&nbsp;&nbsp; TOLERANCE 6&nbsp;<br>
          &nbsp;&nbsp;&nbsp;&nbsp; CLASS<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; NAME "GLIFWC Permit Comments"<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; SYMBOL "..\..\icons\comments.gif"<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; TEMPLATE "identify.html"<br>
          &nbsp;&nbsp;&nbsp;&nbsp; END<br>
          &nbsp;&nbsp;&nbsp;&nbsp; METADATA<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; "identify_record" "identify.html"<br>
          &nbsp;&nbsp;&nbsp;&nbsp; END<br>
          END # GLIFWC Permit Comments<br>
        </font></div>
      <div><font face="Garamond">The layer was successfully added to the
          project and displays correctly.</font></div>
      <div>&nbsp;</div>
      <div><font face="Garamond"><u>Layer INI file:</u></font></div>
      <div><font face="Garamond">host=localhost<br>
          dbname=xxxxx</font></div>
      <div><font face="Garamond">username=xxxxx</font></div>
      <div><font face="Garamond">password=xxxxx</font><font
          face="Garamond"><br>
          tablename=permits.glifwc_permit_comment_points<br>
          geometry_column=the_geom900913<br>
          primary_key_column=gid<br>
primary_key_sequence=permits.glifwc_permit_comment_points_gid_seq<br>
          srid=900913</font></div>
      <div><font face="Garamond">layerpath=glifwc_permit_comment/glifwc_permit_comment_points<br>
        </font></div>
      <div><font face="Garamond"><u>Service:</u></font></div>
      <div><font face="Garamond">&lt;service
          name="add_permit_comment"&gt;<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;url&gt;php/editor.php&lt;/url&gt;<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;step type="spatial" name="feature:the_geom900913"
          line="false" polygon="false" point="true" default="point"&gt;<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/step&gt;<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;step type="input"&gt;<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;input type="hidden" name="op"
          value="create"/&gt;<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;input type="hidden" name="table"
          value="glifwc_permit_comment_points"/&gt;<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;input type="user"
          name="feature:permit_number" title="Permit Number:" /&gt;<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&lt;input type="user" name="feature:file_name"
          title="File Name:" /&gt;<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;input type="select"
          name="feature:type_of_permit" title="Type of Permit:"&gt;<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;option value="APM Permit"&gt;APM
          Permit&lt;/option&gt;...</font></div>
      <div><font face="Garamond">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/input&gt;&nbsp;<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;input type="user" name="feature:wbic"
          title="WBIC if applicable:"/&gt;<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;input type="user"
          name="feature:description" title="Description:"/&gt;<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&lt;input type="user" name="feature:pdf_name"
          title="PDF Name:"/&gt;<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;input type="user"
          name="feature:document_link" title="Link to Document:"/&gt;<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;input type="select"
          name="feature:georef_protocol" title="Georeference
          Protocol:"&gt;<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&lt;option value="digitized by
          hand"&gt;Digitized by Hand&lt;/option&gt;...</font></div>
      <div><font face="Garamond">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/input&gt;<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/step&gt;<br>
          &nbsp;&lt;/service&gt;</font></div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
<a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/ephox-dev2dev">http://p.sf.net/sfu/ephox-dev2dev</a></pre>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Geomoose-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Geomoose-users@lists.sourceforge.net">Geomoose-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/geomoose-users">https://lists.sourceforge.net/lists/listinfo/geomoose-users</a>
</pre>
    </blockquote>
  </body>
</html>