Home › Forums › Quform WordPress › Conditional fields & saving to custom database
- This topic has 3 replies, 2 voices, and was last updated 11 years ago by
Ally.
- AuthorPosts
- August 15, 2014 at 9:48 am #12193
ronisdom
ParticipantHello,
I’m having an issue with conditional fields and saving to a custom database.
Within the form I have 3 fields. The first one is a ‘yes’ or ‘no drop down box. The second and third fields are basically the same field with the same name but the values in their drop down are different depending on the first field. I have added the conditional formatting for this to work.
The problem appears when saving to the custom database. In the database field ‘value’ area I put the following;
{Field 2|10}{Field 3|11}
My thinking was that it would only save the value of the field that was currently shown because the other field would be hidden by the conditional formatting. However it saves both fields concatenated. Is this a bug?
August 18, 2014 at 3:35 pm #12218Ally
Support StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
August 29, 2014 at 2:05 pm #12293ronisdom
ParticipantHi,
Sorry for the late response, I’ve been on holiday.
I’ve tested the above and it works great. Thanks for your help.
Will the new code be included in the next update?
September 1, 2014 at 4:39 pm #12316Ally
Support StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
- AuthorPosts
- You must be logged in to reply to this topic.