Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
FAQ Plugin
#33
(2013-06-15, 16:44:33)Connie Wrote: Hi!

I was looking for an accordion way to show only one of three forms on a page, depending which Headline the user clicks. The plugin description says that any HTML might sit between the headers, but this is not working with forms

I found that the FAQ plugin does the trick, as it is done in accordion style.

So I did this:

Code:
<h3>contact Otto</h3>
<form .... >
<h3>contact Ferdinand</h3>
<form .... >
<h3>contact Luise</h3>
<form ...>

but unfortunately the "close" of the item, the status toggle is triggered by the form submit, so the communication between user and form is not guaranteed.

Is there any chance to change the toggle event, to restrict it to click on the header?

The toggling of parts of the FAQ is already only done when you click on the header. But submitting a form will reload the page (unless you use AJAX) and return it to its initial state (everything closed).

You can force a section open by putting a <span class="mark"></span> into it (primary use for this is marking words and open the sections after a search, see example)
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply


Messages In This Thread
FAQ Plugin - by mvlcek - 2011-05-06, 05:10:02
RE: FAQ Plugin - by hameau - 2012-12-11, 22:36:55
RE: FAQ Plugin - by mvlcek - 2012-12-11, 23:16:39
RE: FAQ Plugin - by hameau - 2012-12-12, 01:13:29
RE: FAQ Plugin \ form submit triggers autoclose - by mvlcek - 2013-06-15, 17:09:58
RE: FAQ Plugin - by thisnthat - 2013-11-12, 12:26:47
RE: FAQ Plugin - by Oleg06 - 2014-06-28, 08:05:25
RE: FAQ Plugin - by mvlcek - 2014-06-28, 17:53:31
RE: FAQ Plugin - by Oleg06 - 2014-06-28, 19:11:57
RE: FAQ Plugin - by Oleg06 - 2014-07-02, 10:45:57
RE: FAQ Plugin - by SoHo22 - 2014-10-18, 20:41:24
RE: FAQ Plugin - by mvlcek - 2014-10-19, 02:13:18
RE: FAQ Plugin - by SoHo22 - 2014-10-19, 02:48:12
RE: FAQ Plugin - by maco-nl - 2015-04-13, 05:00:25
RE: FAQ Plugin - by datiswous - 2015-04-13, 07:55:06
RE: FAQ Plugin - by maco-nl - 2015-04-13, 16:24:00
RE: FAQ Plugin - by datiswous - 2015-04-13, 20:51:15
RE: FAQ Plugin - by maco-nl - 2015-04-13, 22:19:04
RE: FAQ Plugin - by Shasaar - 2016-06-25, 22:54:46
RE: FAQ Plugin - by mvlcek - 2016-07-01, 19:46:59
RE: FAQ Plugin - by vanfruniken - 2017-02-12, 01:58:44
RE: FAQ Plugin - by Riianna - 2017-06-10, 21:42:39
FAQ Plugin - by jlm - 2011-05-06, 05:36:27
FAQ Plugin - by Oleg06 - 2011-05-06, 05:37:40
FAQ Plugin - by mvlcek - 2011-05-06, 05:40:53
FAQ Plugin - by mvlcek - 2011-05-06, 06:54:40
FAQ Plugin - by Connie - 2011-05-06, 16:19:14
FAQ Plugin - by jlm - 2011-05-07, 02:21:37
FAQ Plugin - by jlm - 2011-05-07, 16:27:51
FAQ Plugin - by hameau - 2011-05-07, 20:04:43
FAQ Plugin - by mvlcek - 2011-05-07, 21:21:38
FAQ Plugin - by bereza - 2011-07-08, 23:17:44
FAQ Plugin - by Niedes - 2011-09-16, 12:48:16
FAQ Plugin - by mvlcek - 2011-09-16, 15:38:34
FAQ Plugin - by Niedes - 2011-09-16, 22:47:22
FAQ Plugin - by mus.aqeel - 2012-09-05, 06:16:26
FAQ Plugin - by mvlcek - 2012-09-19, 02:23:42
FAQ Plugin - by mvlcek - 2012-09-30, 14:13:12
FAQ Plugin - by mus.aqeel - 2012-10-05, 17:14:58
FAQ Plugin - by mvlcek - 2012-10-05, 18:05:54
FAQ Plugin - by mus.aqeel - 2012-10-05, 20:31:17
FAQ Plugin - by mus.aqeel - 2012-10-05, 21:47:10
FAQ Plugin - by mvlcek - 2012-10-05, 22:13:46
FAQ Plugin - by mus.aqeel - 2012-10-06, 17:23:39
FAQ Plugin - by mvlcek - 2012-10-06, 18:19:30
FAQ Plugin - by mus.aqeel - 2012-10-07, 17:25:40
FAQ Plugin - by datiswous - 2012-10-18, 04:10:32



Users browsing this thread: 2 Guest(s)