if not ischecked("A", LANGUAGES_SPOKEN) then
Search found 1802 matches
Re: Checkbox
You can use the negation operator:
- April 19th, 2024, 5:43 pm
- Forum: Android
- Topic: Horizontal Radio Button
- Replies: 2
- Views: 2008
Re: Horizontal Radio Button
At the moment, CSPro does not have a built-in capture type that allows you display radio buttons in a horizontal manner.
If you really want this layout, you can try designing a HTML dialog and use HTML/JavaScript to display your options:
https://www.csprousers.org/help/CSPro/h ... ction.html
If you really want this layout, you can try designing a HTML dialog and use HTML/JavaScript to display your options:
https://www.csprousers.org/help/CSPro/h ... ction.html
- April 17th, 2024, 7:56 pm
- Forum: Entry
- Topic: gps distance calculation
- Replies: 2
- Views: 1031
Re: gps distance calculation
Based on your description, my guess is that you are executing this in the preproc of either LAT2 or LON2? If so, you have to use visualvalue for the PROC that you're on. If you're doing this in LON2, you would have to do:
gps(distance, LAT1, LON1, LAT2, visualvalue(LON2))
Re: Urdu Font
It looks like you can change the font on some Android devices: https://www.androidpolice.com/change-font-android-phone/ I was not able to on my Pixel 7 though, so I'm not sure there's really a great option to modify the font. If you want to build a custom CSEntry and modify the font that we use, you...
Re: Checkbox
If you search for "ischecked" on the forum, you'll see some posts about dynamically working with checkbox selections. But even better is to look at the Simple CAPI example included with CSPro. The logic for MAIN_LANGUAGE essentially does what you are asking for: PROC MAIN_LANGUAGE onfocus ...
- April 16th, 2024, 12:17 pm
- Forum: Entry
- Topic: gps function in preproc
- Replies: 4
- Views: 1208
Re: gps function in preproc
You're right that this is a problem. I've fixed it, so if you enable the location, the interactive GPS reading occurs correctly.
We could fix this in a CSPro 8.0.2 release (if we do another minor release). How big a problem is this for your survey operation?
We could fix this in a CSPro 8.0.2 release (if we do another minor release). How big a problem is this for your survey operation?
- April 16th, 2024, 11:34 am
- Forum: Entry
- Topic: File copy to csentry folder
- Replies: 2
- Views: 4049
Re: File copy to csentry folder
In CSPro 8.0, there are new ways to share files with other applications, or to copy to/from directories other than the CSEntry directory. See more here:
https://www.csprousers.org/help/CSPro/a ... tions.html
https://www.csprousers.org/help/CSPro/a ... tions.html
- April 16th, 2024, 11:28 am
- Forum: Android
- Topic: pass value via intent
- Replies: 2
- Views: 1650
Re: pass value via intent
Are you still stuck on this? If so, are you saying that this doesn't work? intent.putExtra("Key", "your case key"); We added the ability to run CSEntry from other applications years ago and don't use it ourselves, so it doesn't get much testing. If this is still a problem, I can ...
- April 16th, 2024, 10:15 am
- Forum: Android
- Topic: get value from android os data
- Replies: 2
- Views: 1429
Re: get value from android os data
If you are using paradata, you can query the paradata log. That Build.MANUFACTURER value is logged in the device_info table, device_manufacturer column. You can query the paradata log using the paradata function, or the Sqlite.exec action: https://www.csprousers.org/help/CSPro/CS_Sqlite_exec.html ht...
- April 16th, 2024, 10:10 am
- Forum: Feature Requests
- Topic: Batch application on Android
- Replies: 1
- Views: 906
Re: Batch application on Android
We will support this at some point, as it would be very valuable, but as we are a very small programming team, it keeps getting pushed down the road. Some people have simulated a batch application by running an entry application that has the dictionary attached as an external dictionary, and then us...