This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 4
Missed feature with logic
Started 9 years ago by Ruhrpottjung | 3 posts |
-
I don't know if that feature don't exist or if I only do it wrong.
What I really miss is that I can use the logic to show / hide fields with a checkbox field.
For example:
I have a checkbox field with two entries:
How do you want contacted:
1 Mail
2 PhoneWhen 1 is checked the Adress field has to been shown, when 2 is checked the phone field.
I can choose the checkbox field to hide / show it, but not as a condition field.So would be nice if that can be added in one of the next versions.
Posted 9 years ago # -
It is possible to do so already.
Let say you have a form with the following fields:
http://monosnap.com/image/kcjl44GWj3OTuvwK3IzjigfsVEHWHPall you need to do is to setup the logic like this:
http://monosnap.com/image/WnsLZdC9XGhgIFwdTmsR4S80qXQ7igMachForm Founder
Posted 9 years ago # -
Thank you very much for the help. That works (was always looking for the field name with the check boxes)
The only thing what's missed (maybe also overlooked it) that I can say that only one checkbox is allowed and not two, three etc.In that example for example it makes no sense to let the user check both options. So it would be fine if I could say "only one choice allowed"
The phone number also will be in this example not shown in the confirmation page so that the customer can see if he made a mistake before he press submit: https://db.tt/k1tJndtE
And what's more badly in that example that I got a error message when I press submit: Fatal error: Uncaught exception 'Swift_RfcComplianceException' with message 'Address in mailbox given [{element_6}] does not comply with RFC 2822, 3.6.2.' in ......
formular/lib/swift-mailer/classes/Swift/Mime/Headers/MailboxHeader.php on line 352I looked and the element 6 is a date field.
Using right now at this domain PHP 5.5 and machform 5.5
Posted 9 years ago #
Reply
You must log in to post.