still not working
I am having extreme problems trying to get this to work, on the face of it it seems as though it should be so simple and I am sure it is a regular requirement for users so I am suprised that you do not have a working template to demonstrate the facility.
At present I am happy to accept that my lack of php knowledge is the cause of the issue but having experienced a number of issues with this program in the past which havent been my fault but program anomolies (you may recall that the multiple dynamic locations doesn't work reliably and the inability to re-edit maps if the containing pages are within a sub folder) I am fast losing not only confidence but the will to live and am seriously considering looking at other products which do the same things in the hope that they will work better for me.
I dont expect you to teach clients php but would expect that you have an interest in ensuring that clients can use the programs without too many hassles in order to prevent product dissatisfaction, after all you do market your products for use by those who do not have programming skills.
Anyway gripe over, back to business, I have listed my issues below.
a) Tried using your suggestion of the lightning bolt to add the variable however if I select this the code produced is
<?php echo((isset($_POST["Pcode"]))?$_POST["Pcode"]:"") ?>
which is different to your advice of
<?php echo(isset($_POST["Pcode"])?$_POST["Pcode"]:""); ?> due to the extra set of brackets, although I cannot get it to work using either, it would be helpful to know which is correct.
b) Having got the simple form to echo the information input into the postcode field I then add the google map but find that the map displays on the form input screen and has somehow produced directions from Scotland to my fixed point, I can only assume that the map has somehow tried to interpret the variable in its native form as a postcode location as at this point a postcode hasn't been input into the form.
c) I input a postcode but the map and directions do not display on the resulting page but the postcode does display as per the input script, I have tried placing the map in different locations throughout the code but get syntax errors due to my lack of php knowledge in not knowing what should go where.
In effect the map is displaying before the variable is filled, but does not display afterwards on the page which is created by the script showing the form result.
My requirement is that the map should only display after the postcode value has been entered (on the results page) in the same way that that the script produces the echo statement showing the input, You can see this here dir.php
where do I need to place the google map
<div id="wagmp_map_4" style="width: 300px; height: 300px;"></div><div id="wagmp_directions_4"></div>
code to achieve this effect? Do I need to have the input and the results as two different pages to get it to work?
Given the work you have put into support for the products I am extremely suprised that you have not created a simple demo template providing this functionality as I am sure it would be helpful to many clients as I cannot find any documentation on your site supporting this requirement.
I really dont want to have to give up on this as it seems such a simple task but I am finding it hard to justify the time and obviously the time difference with support doesn't help so any help you or anyone else can provide would be appreciated.
Thanks in advance.