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

amend existing survey vs new survey #186

Open
JackBurns1984 opened this issue Apr 18, 2024 · 2 comments
Open

amend existing survey vs new survey #186

JackBurns1984 opened this issue Apr 18, 2024 · 2 comments
Labels
enhancement This is a feature not a bug

Comments

@JackBurns1984
Copy link

Hi, looking for advise over an issues:

At present, if someone is logged in I only have a button to go into the survey and update the existing answers, but can you think of a way to have 2 buttons, 1 to enter a new survey and 1 to amend the existing survey.

I can see the for loop in list.html but wondering how I can "check if data is present" and do an "amend" button and a "new" button.

@Pierre-Sassoulas Pierre-Sassoulas added the enhancement This is a feature not a bug label Apr 18, 2024
@Pierre-Sassoulas
Copy link
Owner

You could check if an answers exists in the survey and add a button for the edit case if that's the case. Pull request welcome :)

@JackBurns1984
Copy link
Author

good thinking, thank you - now to see where I can pull the answer from 👍 i can see survey.{things} so hopefully in that ball park.

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This is a feature not a bug
Projects
None yet
Development

No branches or pull requests

2 participants