We’re with you. JoomShaper is offering a 20% Discount on all plans due to the impact of COVID-19.

Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

Button to open modal contact form with pre-filled subject line

Featured Lock Resolved Task
Hi

Is it possible to have a button open a modal contact form with pre-filled subject line

Malcolm

2 Answers

Sifat - Staff

More than a month ago #Permalink
Hi,
Thanks for your query. Sorry there is no default feature to open a contact form in modal addon. I'm adding this to our feature requests and our development team will take care of that.


-Best Regards

Paul Frankowski - Staff

More than a month ago #Permalink
Hi,
you can edit site.php from contact addon -- it should be pretty easy. Just edit that line:


$output .= '<input type="text" name="subject" class="sppb-form-control" placeholder="' . JText::_('COM_SPPAGEBUILDER_ADDON_AJAX_CONTACT_SUBJECT') . '" required="required">';


and add: value="default subject" inside
and remove required="required" - from it.

yes, we have plan to add this option in settings in near future, because you're not first person who asked for it.


There are no replies made for this post yet.
Be one of the first to reply to this post!

124

Templates

331637

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us