Great that worked, thanks for your help.
Controlling the form list on ODKSurvey can be useful when using linked
forms since the user should only see the main form.
I have downloaded a copy of the source code, ODK v2 being an HTML5/Js
application could be developed using Cordova/PhoneGap and be available to
all platforms. Probably you guys looked into this already, I am interested
to hear your thoughts.
Regards,
eric
···
On Wed, Oct 15, 2014 at 6:21 PM, clarice larson wrote:
- I think I see the confusion. The "hideInContents" being set to true
hides the prompt from the "Contents" listing. It does not hide the prompt
from being viewed within the survey itself. To hide a prompt while
navigating through the survey, you could use "if" and "end if". The
twoColumn.xlsx file I sent previously has an example of this.Your modifications to the formDef.json appear to be correct based on the
behavior you are describing. Thanks for the information regarding
LibreOffice.
- You could delete the form directories (i.e. selects, exampleForm) that
you don't want to see in Survey from the /sdcard/opendatakit/survey/tables
directory. We use OI File Manager for this on the android device. If that
is not sufficient, the source code the Android app is available at
https://code.google.com/p/opendatakit/source/browse?repo=survey.Clarice
On Wed, Oct 15, 2014 at 3:46 PM, Eric Ramirez eric.ramirez.sv@gmail.com wrote:
- I do see all the prompts when I enter the form, however the 'Contents'
listing does not have the prompts that should be hidden. Not sure why the
rule is not being applied in both places.BTW, what I've found so far is that Libre office has a particular way of
handling boolean values (1 as opposed to true). I edited the formDef.json
and made sure the key value pair was "hideInContents": true, I also
downloaded/installed a clean copy of the Application Designer.
- As for the ODK Survey list, so the only way to edit/control it would
be editing the source code for the Android app, is it available for
download?eric
On Wed, Oct 15, 2014 at 4:21 PM, clarice larson clarlars@gmail.com wrote:
Interesting. I am using Google Chrome 38.0.2125.104. For the
twoColumn.xlsx file that I sent, I am using the "ODK Survey 2.0 Beta-3 rev
122" tag on the opendatakit.survey-js repo. As long as you haven't made
any JavaScript changes we should be looking at the same thing. I see the
Contents screen does not include the "Enter age:" prompt after I navigate
to the first prompt, select the "Two Column Form" button, and hit
"Contents". Do you just see all prompts when you do this? Do you get any
errors in the Chrome browser console?The framework.xlsx file is not currently used in the ODK Survey android
app to filter the list of surveys.Clarice
On Wed, Oct 15, 2014 at 2:03 PM, Eric Ramirez <eric.ramirez.sv@gmail.com wrote:
Thanks for your quick reply Clarice,I have tried the file you sent me
and still see the same problem. Actually none of the prompts get hidden.
I am using Application Designer/ODK 2.0 rev 122, Fedora 20, LibreOffice
4.2.5.2, Chrome version 36.0.1985.125On a separate note, How do I control the default form list on ODK
Survey? I can edit the default Framework form list inside the Application
Designer but these changes are not kept after doing a adbpush-survey .
Thanks again,
ericOn Wed, Oct 15, 2014 at 1:12 PM, clarice larson clarlars@gmail.com wrote:
The hideInContents should work for other prompts. I've attached an
example where it works for an integer type prompt with ODK Survey 2.0 Beta
3 rev 122.Clarice
On Wed, Oct 15, 2014 at 9:17 AM, Eric Ramirez < eric.ramirez.sv@gmail.com> wrote:
I think I found a bug, I am trying to create hidden field but it
seems as though hideInContents only works for prompts of type note. Is this
correct?
thanks,
ericOn Saturday, November 23, 2013 7:10:08 PM UTC-5, Mitch Sundt wrote:
The BETA for ODK Survey is now available. This is a BETA release.
It is not intended for production use.Beta releases should never be used for production deployments. Beta
releases are provided to gather bug reports (to make the application more
robust) and for user feedback on the capabilities of the application. Updates
may result in loss of data or incompatible changes in form designs.Non-technical users may find the usage descriptions difficult to
follow and there may be a considerable number of manual steps needed to
utilize the tools.We expect to release a second Beta with an incompatible database
change as we align the database structures of ODK Survey, ODK Tables, and
ODK Aggregate's new Tables storage subsystems.We consider this Beta to be nearly code complete. We are considering
changes to how the back button works (both the device back button and the
back button within the app). We also expect to change the CSS styling of
the widgets to create a flatter, more modern, look-and-feel.
Instructions for ODK Survey are available here:
http://opendatakit.org/use/beta/survey/--
Mitch Sundt
Software Engineer
University of Washington
mitche...@gmail.com--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en
You received this message because you are subscribed to the Google
Groups "ODK Community" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.--
You received this message because you are subscribed to a topic in the
Google Groups "ODK Developers" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/opendatakit-developers/GD0LJWHVmkk/unsubscribe
.
To unsubscribe from this group and all its topics, send an email to
opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.--
You received this message because you are subscribed to the Google
Groups "ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to opendatakit-developers+unsubscribe@googlegroups.com.For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the
Google Groups "ODK Developers" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/opendatakit-developers/GD0LJWHVmkk/unsubscribe
.
To unsubscribe from this group and all its topics, send an email to
opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.--
You received this message because you are subscribed to the Google Groups
"ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.--
You received this message because you are subscribed to a topic in the
Google Groups "ODK Developers" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/opendatakit-developers/GD0LJWHVmkk/unsubscribe
.
To unsubscribe from this group and all its topics, send an email to
opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.