Hi Alexandre,<br>Thanks for the reply. I am referring to the html text box inside the popup. Thats where I want to enter the data.<br>I also included a button in the popup to initiate the transaction. This works fine when I hard code the attribute information.<br>
<br>I did try the method you suggested. Maybe because the html text box is not directly in the web page(but rather in the popup) I didnt have much success. However I will try this again. Maybe I missed something.<br><br>If there is any other way of achieving this (maybe with ajax) kindly let me know.<br>
<br>Regards,<br>Indika <br><br><div class="gmail_quote">2008/10/31 Alexandre Dube <span dir="ltr">&lt;<a href="mailto:adube@mapgears.com">adube@mapgears.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Indika,<div class="Ih2E3d"><br>
<br>
 &nbsp; &gt;&gt; The problem is I am unable to access the input data.<br>
<br></div>
 &nbsp; Do you mean you can&#39;t access the html text box ? &nbsp;If you do, give it and id, access it with document.getElementById(&#39;yourId&#39;) and parse the text box value to the feature.attributes before saving. &nbsp;That will add the attribute to your INSERT/UPDATE request at the same time. &nbsp;I&#39;m not sure if that&#39;s what you meant, though.<div class="Ih2E3d">
<br>
<br>
 &nbsp; &gt;&gt;Also everytime the wfs-insert takes place i get an alert with the transaction results details.<br>
Is there anyway not have the alert come up everytime.<br>
<br></div>
 &nbsp; Search in your files for the &quot;alert&quot; string and just get rid of it.<br>
<br>
Hope this helps,<br>
<br>
Alexandre<br>
<br>
Indika Tantrigoda wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">
Hello to all,<br>
I have a wfs layer setup which allows me to add points.<br>
I would like the user to enter the attribute information so that it too can get<br>
written to postgres.<br>
<br>
I setup a popup with a text box which allows me to add the relevant details.<br>
The problem is I am unable to access the input data.<br>
<br>
Is there any way to get around this, or this is an alternative method I could approach.<br>
<br>
Also everytime the wfs-insert takes place i get an alert with the transaction results details.<br>
Is there anyway not have the alert come up everytime.<br>
<br>
Thanks<br>
<br>
Indika<br></div></div>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@openlayers.org" target="_blank">Users@openlayers.org</a><br>
<a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>
 &nbsp;<br>
</blockquote>
<br>
<br>
-- <br>
Alexandre Dubé<br>
Mapgears<br>
<a href="http://www.mapgears.com" target="_blank">www.mapgears.com</a><br>
<br>
</blockquote></div><br>