Support

Home Forums Event Espresso Premium birthday shows as mandaotry answer event it is choosed (other question may not)

birthday shows as mandaotry answer event it is choosed (other question may not)

Posted: May 15, 2019 at 11:44 pm


Taiwan Beast Runners

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.
I found out quite many miss this question and let the default/first 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.


Tony

  • Support Staff

May 16, 2019 at 4:48 am

Hi there,

1] Birthday question is still appearing in message event was filled up?

“Please answer all required questions correctly before proceeding Birthday dd/mm/yyyy”

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.

Like so – https://monosnap.com/file/aHwPUz782JXfSEJQV497XWDcF7V4o1

(‘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.

2] is there way to in Drop Down question has not first answer as default answer.
I found out quite many miss this question and let the default/first answer.

Yes.

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
icon to move it around.

Save and the dropdown will show that field as default, as it has no value set the first option is not a ‘valid’ selection.

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.

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.


Taiwan Beast Runners

May 16, 2019 at 6:25 pm

hi

1]
yes, same problem with Date Picker
it is not huge mistake, maybe just 3 of 1000 registrant could not solve and wrote us. Because they had agree with some conditions on the end and this message still show mistake is above.

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

3]
I know. I wrote Aparna. They said something will come soon, two months ago.
The problem is we have many questions with even more answers and from this plugin we receive only some ID of the answer. So eg. answer about one seat for bus give answer 14, two seat 15.
But still not problem as I really would like know HOW TO FIND ANSWER ID?

Thank you


Tony

  • Support Staff

May 17, 2019 at 5:18 am

1]
yes, same problem with Date Picker
it is not huge mistake, maybe just 3 of 1000 registrant could not solve and wrote us. Because they had agree with some conditions on the end and this message still show mistake is above.

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.

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

Great, I’m glad that works for you.

3]
I know. I wrote Aparna. They said something will come soon, two months ago.
The problem is we have many questions with even more answers and from this plugin we receive only some ID of the answer. So eg. answer about one seat for bus give answer 14, two seat 15.
But still not problem as I really would like know HOW TO FIND ANSWER ID?

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.


Taiwan Beast Runners

May 19, 2019 at 6:23 pm

I undersand about 3rd party.
But I am asking how to know ID of answer in general case.

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
“Answer values that are uneditable are this way because there are registrations in the database that have answers for this question”


Tony

  • Support Staff

May 20, 2019 at 9:43 am

I can see ID of questions, but drop down question may have predefined answers, which most probably have some 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:


ANS_ID | REG_ID | QST_ID | ANS_value
9572     3300     11       Test2

The ‘answer’ is ‘Test2’, that’s what I selected in the dropdown.

This is an answer to a ‘Text’ question on the same registration:


ANS_ID | REG_ID | QST_ID | ANS_value
9571     3300     14       11

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.


Taiwan Beast Runners

May 23, 2019 at 7:20 pm

to make it simple
I need know number, ID
for answer from drop down menu, or tick box,
example:
registration: http://event.beast.run/registration/ft2019/
Q:
BUS from Taipei Friday 2pm and Sunday back
A: NT$900 (TWD) – 1x Taipei BUS 2pm
gives answer number: 19

where I can find rest of these number for another answers and questions?

http://event.beast.run/registration/ft2019/


Tony

  • Support Staff

May 24, 2019 at 4:01 am

“BUS from Taipei Friday 2pm and Sunday back” is not a standard question in EE4, that’s a ‘pricing’ question from the Apana Price Modifier add-on and as such does NOT work in the same way.

I did a quick check using that add-on and the questions are not constructed in the same way as EE4 so I have no idea how you pull the details from that question type as it’s not using questions in the same way as EE4 does. Again, this is something you will need to contact Aparna for as we don’t support other peoples code.

The support post ‘birthday shows as mandaotry answer event it is choosed (other question may not)’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso