Is it possible to use a shortcode as an aswer?
-
Hello,
I am trying to create a security-type question in which the user is asked a question like “What is your first name?”. The user would input their first name and the correct answer would be checked against the first name of the user’s profile.
I thought I might be able to achieve this by setting the correct answer as a shortcode, such as [ays_quiz_user_first_name]. Where the shortcode would pull the user’s first name and check it against their inputted answer. However, when I test this. It seems that it doesn’t work.
Is it possible that you could make shortcodes work in the answer field when creating a question answer? If not, is there a way I can achieve the functionality to ask a security question where the correct answer would be pulled from the users profile data (first name, last name, email address, etc.)?
Thanks for your help.
- The topic ‘Is it possible to use a shortcode as an aswer?’ is closed to new replies.