I'd like to add the ability for the user to select multiple options in the form dropdown.
Select Multple Values in Contact Form Dropdown List
1 reply · opened Jul 31, 2016
BbvanhuisenJul 31, 2016
SSemicolon WebSTAFFAug 8, 2016
Hello,
This is Definitely Possible! Please consider using this Component: http://themes.semicolonweb.com/html/canvas/component-select-picker.php . You can find this Template in the component-select-picker.html File in the Package/HTML Folder.
Then you can simply modify the PHP Code in the include/sendemail.php File and find the following code:
$service = isset($service) ? "Service: $service
" : '';and replace it with:
$service = isset($service) ? "Service: $service
" : '';
if( is_array( $service ) && !empty( $service ) ) {
$service = "Service: " . implode( ', ', $service ) . "
" : '';
}This will definitely work fine. Let us know if we can help you with anything else or if you find any further issues.
Have the same question, or something new?
Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.
Reply on the dashboard