Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A binding between forms and boolean variables is possible?? #1544

Open
Bigy115 opened this issue Mar 10, 2023 · 0 comments
Open

A binding between forms and boolean variables is possible?? #1544

Bigy115 opened this issue Mar 10, 2023 · 0 comments

Comments

@Bigy115
Copy link

Bigy115 commented Mar 10, 2023

Using researchkit, it is possible to show forms in a step of a task based on the boolean variable set in the previous step.
` let BodyStep = ORKCustomStep(identifier: "myBodyStep")
BodyStep.isOptional = false
BodyStep.title = "Body Check".

let BodyView = BodyCheckView(frame: CGRect(x: 0, y: 0, width: 400, height: 400))
BodyStep.contentView = BodyView
`

from this view I set the boolean variables, based on these I would like to make a step, with forms based on the previously set boolean variables.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant