You need to sign in to do that
Don't have an account?
Hitesh Patil 843
Create a Question and Answer in Lightning Component
I want create a question answer form where answer are written by user. The Question are taken from the question object by the iteration but while storing the answer the answer is store for particular question id only. Not as per the question sequence.
This is just an idea but the thought is that you could have an answer object that could act like junction object between the user and question object so that you can store the question id answer and the user id so that it can be fetched as per the use case.
I hope this helps and in case if this comes handy can you please choose this as best answer so that it can be used by others in the future.
Regards,
Anutej
Thanks for replying me but I have an issue with the id only. The answer are store as per the hard coded question Id only for single single question.
hiteshpatil843@gmail.com these is y mail id if you have an example Can you share with me.