Posted: May 15, 2019 at 11:44 pm
1] Birthday question is still appearing in message event was filled up?
“Please answer all required questions correctly before proceeding Birthday dd/mm/yyyy”
2] is there way to in Drop Down question has not first answer as default answer.
3] Price modifier 3rd party, they promised do some changes. but still have problems. I see only some number of answer, not answer itself. So we have not so much idea what was answered.
I did some checking into this and the Datepicker question shows as required in the error message if another required question was not provided and triggers the error even though the datepicker has a value.
(‘Datepicker’ had a value but ‘Test 1’ did not when I submitted the form, yet both are shown in the error message)
Is that the issue you are currently having?
If so we have a ticket for the above but no fix yet as it needs further investigation.
Edit the dropdown question in the admin and add an additional option to that question.
Add some text to the Description field for the new value (make sure nothing is set in the value field) and place that field at the top of the list using the
Save and the dropdown will show that field as default, as it has no value set the first option is not a ‘valid’ selection.
Unfortunately, we have no control over 3rd party add-ons and you will need to contact the developer of the add-on for support of that add-on.
2] I did that. Nice. Because I had already 200 question (asking about nationality, but need different format), so I just delete some dummy one. DONE
Whilst I understand that the error can be confusing and needs to be fixed, it doesn’t prevent them from fixing the other fields that are required and proceeding with the registration. It just shows the Datepicker ‘required text’ with the others.
Great, I’m glad that works for you.
Again, as this is from a 3rd party add-on we can not provide support for it.
The add-on will need to be updated to pull the correct value.
I undersand about 3rd party.
I can see ID of questions, but drop down question may have predefined answers, which most probably have some ID.
once there is answer on this question the answers are freeze, so there must be way how to find its ID
Yes, but that’s not the answer ID. Those are question options which do have an ID (QSO_ID), but I’m not sure if that’s what you want.
You’ve asked for the ‘Answer ID’ but from what object are you pulling that from?
‘Answers’ are added to the database as the registrations are created, they’ll have a unqie ID (the row ID) so you can’t know the ‘Answer ID’ prior to creating the registration.
Then, a dropdown question stores the value selected at the time of registration, not ALL of the values, for example this is an ‘Answer’ to a dropdown question from the database:
The ‘answer’ is ‘Test2’, that’s what I selected in the dropdown.
This is an answer to a ‘Text’ question on the same registration:
The ‘answer’ I input into the text field was ’11’.
Notice how there’s no difference between those two fields, because the ‘answer’ doesn’t know it’s a dropdown, its just an answer to a question. The question object knows it’s a dropdown and does the heavy lifting here.
So, you’re asking for an answer ID but based on what?
Do you have the registration object and want to pull the answers assigned to that registration, then find a specific answer? (You’ll actually use the questions for this as you’ll know the Question ID and pull the answer from that)
Do you have a specific question object already and want to pull the answer for a specific registration for that question?
In short, we need more context to be able to point you in the right direction.