The easiForm action uses the form ‘action’ to send the form so two actions that send a form on the same page will not work as they will both need the form action property and this will be set to one action or the other, you could get around this by hand coding the search elements into a separate form on the page but this will need to be outside the boundaries of the contact form that you are using with easiForm.
Example of the form on the page set by FW:
<form action="EASIFORM_send_form_to"> // Set by FW (Opens easiform form)
easiForm stuff here
Submit 'easiform' button
</form> // Set by FW (Closes easiform form)
This will work:
<form action="EASIFORM_send_form_to"> // Set by FW
easiForm stuff here
Submit 'easiform' button
</form> // Set by FW (Closes easiform form)
<form action="SEARCH_send_form_to"> // Set by you in a markup item (Opens search form)
Search stuff here // Set by you in a markup item
Submit 'search' button
</form> // Set by you in a markup item (Closes search form)
As will this:
<form action="EASIFORM_send_form_to"> // Set by FW (Opens easiform form)
easiForm stuff here
Submit 'easiform' button
</form> // Set by you in a markup item (Closes easiform form)
<form action="SEARCH_send_form_to"> // Set by you in a markup item (Opens search form)
Search stuff here // Set by you in a markup item
Submit 'search' button
</form>// Set by FW (Closes Search form)
The code you would use for the search form to place in the markup item could probably be copied from the code output of the search form from one of the other pages that same search form is used on.
I don’t really know if it is needed to have a search option on a Contact form page 'if that is what the page with easiForm is but I tend to think along the lines of: If someone goes to a contact form it is to get in contact rather than to start searching for something… This is a much easier solution to placing the code for the search in a markup item, although it is simple there a sometimes things that might change ‘with layers’ within the page that could possibly screw things up in the future.
HTH
Mike
On Nov 14, 2012, at 9:17 PM, tonzodehoo wrote:
I have set up a form using the easiform actions but have found that I had to remove the Simple search action to get it working as my test responses when clicking the submit button on the easiform generated a search result. The easiform action didn’t function whilst the simple search was on the same page.
Is there something I am missing here at all?
Also was wanting to check regards the Simple search action which I have set up but can’t seem to get it to link to a search results page.
I have the action setup on the main site folder thouth the search is actually located in a sub directory. Should I instead apply the action to the directory folder instead?
Any insights would be most welcome.
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options