I want to create a daily journal and mood tracker to my app where a user can come in and for that day do the following:
- Use a slider to select mood like the Apple mood tracker - this will record values from very unpleasant to very pleasant
There will also be a journal open text field then can choose to enter text
This data should be private and only be seen by the user. What is the best way to approach this.
If you want a slider you will have to build one using the Custom AI component.
Other than that, a standard Form with the Custom AI component and a Text Entry component should do.
For the data to remain private, make sure you have an email column in your table. Apply Row Owners to that email column. Then add a Special Value component to your form to pass the signed in user’s email into the email column when the form is submitted.
If it’s a regular form, it’s a type of component you add to the form just like adding any other component. If it’s a form container, the you select the values in the appropriate drop-down in the configuration panel on the right hand side is the builder.
The AI component should have added a variable in the data section that you can point to a column in the table.
Tell the AI that’s what you want.
Okay I was able to get the slider to tranfer the score to the database but still not able to get the date to be input for just today’s date - attaching two screen shots of the data table columns and the layout not sure where I can configure it just share the data automatically as today.
That is a form container instead of a form, so it’s a little different. Select Form Container on the left hand side. On the right you should see a bunch of dropdowns for each column in the table your form is writing to. Select the dropdowns for email and date, and there you should see the special values.
Thanks this has been resolved