Support

Home Forums Pre-Sales Seeking Developer: Two Needs

Seeking Developer: Two Needs

Posted: September 28, 2015 at 9:52 am


Wes Linda

September 28, 2015 at 9:52 am

I’m seeking someone to assist with developing conditional fields on a registration form and the option to add a cc email contact as well. This is an urgent project. Anyone available? Please hit me up ASAP. I do have a budget to achieve this if it’s possible.


Seth Shoultes

  • Support Staff

September 28, 2015 at 11:49 am

Hey Wes,

You can also try finding someone using our Event Espresso Pros page OR try a service like Code Cavalry.

Hope that helps!


Wes Linda

September 28, 2015 at 12:44 pm

Hey Seth, I sent a request directly to one of the providers on the pros page. I’ll check out code cavalry as well. Wish I didn’t have such a short timeline to deliver.


Seth Shoultes

  • Support Staff

September 29, 2015 at 9:47 am

Regarding your question to add a cc email contact:
You can create a custom question, then use the shortcode [PRIMARY_REGISTRANT_ANSWER_*] in your message template, like this:
http://www.screencast.com/t/JddPfbUC

Make sure you add a comma after the [RECIPIENT_EMAIL] shortcode, and then the custom question text after the ‘*’ with no spaces.

Please note, there may be a few gotchas with this. It will depend on your mailserver whether this will work or not, and it depends on people entering a valid email for that custom question.

We added some filters to allow for making sure that the question field validates as an email address, however, we are adding an email question type in EE4.9.

Here’s the existing filter that can be added to your site via custom plugin or added to your theme functions.php file:

function ee_add_question_type_as_options( $question_types ) {
    $question_types[ 'email' ] = __( 'Email', 'event_espresso' );
    return $question_types;
}
add_filter( 'FHEE__EEM_Question__construct__allowed_question_types', 'ee_add_question_type_as_options' );

function ee_generate_question( $input, $question_type, $question_obj, $options ) {
    if( ! $input && $question_type == 'email' ) {
                //must return an EE_Form_Input_Base child object, see event-espresso-core/libraries/form_sections/inputs. If they want to create a different class it needs to extend EE_Form_Input_Base and get autoloaded via EEH_Autoloader
        return new EE_Email_Input( $options );
    }
}
add_filter( 'FHEE__EE_SPCO_Reg_Step_Attendee_Information___generate_question_input__default', 'ee_generate_question', 10, 4 );
  • This reply was modified 8 years, 7 months ago by  Seth Shoultes. Reason: clarification

The support post ‘Seeking Developer: Two Needs’ 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