Pierre-Sassoulas / django-survey

A django survey app that can export results as CSV or PDF using your native language.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

amend existing survey vs new survey

JackBurns1984 opened this issue · comments

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.

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 :)

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