Beginner scripting resources?
I’m trying to teach myself about scripting commands. But I’m having trouble finding full, complete answers. For example, the Switch Statement.
In the Ninox Intermediate Tutorial #3, Switch Statement, several examples are given. Most refer to a “Choice Field”, but 2 do not. One of these exceptions refers to “True”, and the other refers to “1”, both where there was no “Choice Field” involved.
In what other instances can Switch be used when not referring to a Choice Field? I searched the Ninox Manual, but it only discusses references to a Choice Field. In these other instances what parameters are available?
In the future when trying learn about scripting commands, where can I go to find complete answers other than the Tutorials and searching the Ninox website Manual?
Thanks.
6 replies
-
"True" or "1" are most likely referring to a "yes/no" field, as this can only be either True/1 or False/0
A switch can be done using pretty much any field type you want, it would just most typically be a choice field.
For example, you could have a number field and a formula field containing
switch number do case 1: "This number is 1" case 2: "This number is 2" default: "There is no number" end
and this will modify the formula output depending on the input into the number field
Hope this makes sense, happy to expand further if you have any other queries on it
-
Welcome to Ninox.
You have encountered the big weakness of Ninox, documentation.
There are free videos from Ninox and Nioxus.
Ninox does their every other Tuesday help Zoom meeting.
Nioxus also does a free Thursday learning lab.
For a fee Nioxus, you can get access to previous learning labs videos and techs support. For me this is where I learned a lot of how to understand Ninox coding.
For a larger fee, you can get access to all of their sample templates.
-
Of course the forums are also a great resource. Here is a post about more advanced switch functions.
Content aside
- Status Answered
- 1 yr agoLast active
- 6Replies
- 91Views
-
4
Following