Forums

Republish fields - works only if form wizard used?

rogem 04 Mar, 2009
First, thanks much for the work on chronoforms, really appreciate what it does.

The issue I've been having is that of form fields not 'republishing' after a incorrect captcha entry.

I've spent a lot of time investigating and have searched this forum. To make a long story short, I found that forms created using the 'form wizard' republished fine after a incorrect captcha entry, but forms created via the 'new' button in the 'Forms Manager' using identical HTML, settings, and showing identical database contents, would not.

Using Chronoforms V3.0 Stable. on Joomla Version 1.5.8

Any help very much appreciated!
Max_admin 05 Mar, 2009
Hi rogem,

try to enable "validation" and see if it will work after that ?

Please let me know!

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
rogem 05 Mar, 2009

try to enable "validation" and see if it will work after that ?



Heh. I enabled validation (without specifying any fields), and it worked for 2 out of 3 problem forms - the fields are republished after a faulty captcha entry. The 3rd problem form showed a JavaScript error that led me to remove a comma in the "value" area text of an imput, and then it worked too.

2 questions:

1) in my handmade forms do I need both a "name" and "id" for each field in order for the republish feature to work?

2) So, now I'm curious - how did turning on 'validation' (even without specifying fields) make republishing work?

Thanks!!
GreyHead 05 Mar, 2009
Hi rogem,

It's good practice to add both names and (unique) ids to your fields. It can make working with JavaScript (including custom validation) much easier.

Turning validation ON loads the MooTools library which is used by the validation script and the restore fields script.

Bob
This topic is locked and no more replies can be posted.