How can I create a value of registration based on specific answers to questions