Skip to content

Instantly share code, notes, and snippets.

@DomagojGojak DomagojGojak/forms.php
Last active Aug 27, 2015

Embed
What would you like to do?
<?php
// ...
use Formjack\Field\EmailField;
$form = new Form('Contact_Form', array(
/* ... */
));
if (!is_user_logged_in()) {
$form
->addField(new EmailField('email', array(
'label' => 'Email: '
)))
;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.