Re: QFC: auto-submit without advancing to next step?
| From: | Daniel Kopp | Date: | Tue, 31 Aug 2004 21:40:51 +0000 |
| Subject: | Re: QFC: auto-submit without advancing to next step? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-14354@lists.php.net to get a copy of this message | ||
Hi!
Stephan Wentz wrote:
> i'm using QFC with smarty, works like a charme, but now i've got
> the problem that i need to do an autosubmit when a specific
> element is changed, the page should reloaded. how can i achieve
> this in an onclick-event? is there a way to bypass the validation
> in this case?
hmmm - you need Javascript anyway. So just click a Button onclick. You
can also hide Buttons with CSS (non-CSS Browsers will show but ... who
still uses a non-CSS Browser?)
> another problem, is there a way to bypass validation when doing a
> back-action? right now i have to fill everything on the active
> page to step back, this shouldn't be the case, if i see i did a
> wrong option on the last page and this changes the active page, i
> shouldn't need to fill in everything right now...
use custom Actions. Then you need to call (or not call) validation
yourself.
regards
Daniel