Thanks for the response once again! So blue sky(perfect world) this is what I wantâŚ
Right now I have the Feedback form where a user can input a question. I want to have them to receive a question automatically and then input an answer, and eventually be able to get 5 questions in a row. Then they can receive a percentage of questions that were correct.
Since I normally try and get one thing and then build on it was hoping to be able to pull ONE row from the Questions Table over to the Question box on the Feedback Form, which is actually called text_box_2 on the code section.
Believe I actually was not on the right track here and need to pivot. What Iâm going to want is to get the answers that are inputted checked off of the Questions Table, which I can work on next.
What I need is a way to pull over a question from the question column to the Question input on the Feedback form, which is currently listed as âtext_box_2â.
I believe this will be some type of code change on the âCodeâ tab on Form1. I believe it will be a change in this sectionâŚ
#set email to the text in the email box
question = self.text_box_2.text
Maybe change to something like thisâŚ
#set question to the question from the data table
question = THEN REFER TO THE QUESTION COLUMN IN THE QUESTION DATA TABLE
Then, would be able to have a user input their answer, and that will be sent back to the Answers Table, at which point there will be another Question sent over to the text_box_2, for them to answer, and will continue until they get 5 questions and input 5 answers.
This will likely take another round of adding an anvil.server.call like the one here?
anvil.server.call('add_feedback', name, question, answer)
I know Iâve changed my approach but as a lot of coding is an iterative process have to just acknowledge thatâs par for the course and keep going!
I will look into specifics of how to get what I want as well, but as always any advice always welcome.
Thanks once again!
-Taylor