1

Topic: Species Surveillance project - final issues

John/(Jim),

After a bit of a hiatus and having thought everything was working fine with our defra species surveillance project forms, it seems there are now some problems coming to light, so I think I never solved before and others that seem new. The first couple are below, I will probably have to come back to you with some more over the next week or so as we try to complete data entry for the defra deadlines.

We have a few forms very much like this one:
http://www.nbis.org.uk/SpeciesSurveilla … MarginForm
We want to be able to have a populated grid from the relevant species list (this case Field margin vascular plants) to tick off when recorded, but then to add to the list using the autocomplete addition record/line box at the bottom, selecting from only vascular plants in this case.  I have tried, using the master list as the 2nd species list on then filtering to all the taxon groups I could see that make up vascular plants, I have also filtered on the nbn external key for vascular plants....and I have also tried without the filter, i.e just using the uk master list as the list. None of this works, I either just get an autocomplete that only gives me species from my first species list or nothing displays in the autocomplete. Can you tell me what i am doing wrong and why the second species list is not being used in the autocomplete, I'm sure it used to?  Surely this is the point that you can have a grid of your chosen species as I have tried this in a form with no first species list and it works (although fern does not populate the autocomplete for some reason....maybe this is not the preferred taxon group name?

Our Environmental data form, very similar to Jim's one for pond net, used to work fine when I set it up.  However couple of problems now. form is here:
http://www.nbis.org.uk/SpeciesSurveillanceEnvDataForm
Firstly our management activities tick box options do not appear as a complete list in older versions of ie and chrome, just first line of options.
Secondly and most importantly: sometimes when you have ticked some of these management activities, it errors and then says you have not inputted them, if you tick again it tends to work. However on older ie and chrome it just errors and never seems to work.  Any thoughts??

As I say I'm sure I will have some more questions, especially as I work on some of the maps, reports (site/species totals and breakdowns), charts bits as part of the 'feedback' element of the project area

For reference all the forms to do with our species surveillance project are here:
http://www.nbis.org.uk/SpeciesSurveillanceForms

Many thanks
Sam

2

Re: Species Surveillance project - final issues

Hi Sam
You have set up the 2 species lists correctly, but a bug has crept in to the code here which I've just fixed in the code repository. Do you know how to get the latest code from the repository to do an upgrade of your iform module?

I suspect that the issues in older IE and Chrome browsers relate to stylesheets. However, on my IE I can emulate back to IE5 (which just crashes but is too old to support anyway), and IE7 upwards look more or less fine. To prove this you could look at the HTML on the page and find the checkboxes to check they are actually all there. If so then a stylesheet fix should be the way forward.

For the problems with errors saving the checkboxes, I'd like to know if upgrading to the latest iform code fixes it or if the problem still occurs?

Best wishes
John

John van Breda
Biodiverse IT

3

Re: Species Surveillance project - final issues

John,

Thanks for this, hopefully the code fixes will sort out both problems then.

Unfortunately I don't know how and where to get the latest code to upgrade my iform module and how I would do this upgrade.  Could you steer me in the right direction on this one?

Thanks

Sam

4

Re: Species Surveillance project - final issues

John,

I don't know if these are things that will be sorted by code fix (going to do tomorrow, although now downloaded), but thought I would ask anyway:

1.  Can users edit their locations, other than in warehouse?  Related to this Martin Horlock (NBIS) has been inputting records in our species surveillance forms and his sites, records etc are not visible when he goes into my sites etc.
2. When new locations are created (as transects for us if you remember, as we have butterfly forms and normal forms, so needed a common location type that would work for all), it takes ages for them to be available in the drop-down in any of the recording forms we have setup....I have to logout and login or delete cache or just wait 10 minutes or so for it to work - any thoughts.
3. I asked this a while back and could not remember the answer:  We want the drop-downs above in our env data and species recording forms to only show locations set up through our website, hence not including the national list (which included NNRs, LRCS and locations setup by others). What did you suggest was the solution?
4.  In the butterfly transect form Martin H had an error when setting up the sections on his transect, it would not let him put in a grid reference here (it errored when he did); I can't remember but maybe he should be leaving this blank??

Sorry to bombard with more.

Thanks

Sam

5

Re: Species Surveillance project - final issues

1. There are a few different ways you can opt to link users to their sites. I'm not sure what your approach is for the surveillance forms, but if your "my sites" is set up like the iRecord version, then the sites will appear if you either created the site, or you have a multivalue person_attribute linked to you with the ID of the locations stored in it.
2. Let me know if this is the same after the upgrade, I did something in this area quite recently and mine is quick on iRecord.
3. I added the following to the user interface definition for your location map control on the environmental data form. It passes through to the data services call used to load the locations as a filter:

@extraParams={"website_id":7}

4. Please can you check this after the upgrade - this is another area with some imrpoved code.

Cheers
John

John van Breda
Biodiverse IT