Sep 16th, 2011, 10:29 AM
Hey Mark,
Sorry for the wait, I'm playing catch-up in the forums today.
And thanks for the kind words!
Very nice of you.
Yup! I'm not quite sure how I'm going to do it yet, but it'll allow for the most common forms of validation, and it'll probably allow developers to extend it with custom validation rules if need be. A couple of recent modules (Facebook Forms & the Form Builder) both added their own validation code, which was daft. Better to just add it to the Core once. So I'm going to hold off releasing the Form Builder until 2.2 is done.
It'll be weeks, I think - but really not too long. First I need to update the demo, which has been out of date the day after it was released.
The new demo is way cooler: it creates a custom, pre-configured 24 hour demo where you have full use of the latest version of the script, premium modules etc, so you can get a much better idea of what it does and how it works before installing it on your own site.
And yeah! I remember you made those modifications to add in the validation: very cool indeed! However, I'm going to approach it slightly differently. I'm going to keep the second tab of the Edit Field dialog to be field-type specific, and add in a third tab which lets you specify validation rules. Validation will be stored in a separate location in the DB. This will actually make the code a little simpler, but functionally it will work the same way.
Anyway, apologies for the long message. Speak soon -
Ben
Sorry for the wait, I'm playing catch-up in the forums today.
And thanks for the kind words!

Quote:Will this feature addition include the ability to (1) specify the minimum length of a field and (2) a presence check (e.g. The field must not be empty)?
Yup! I'm not quite sure how I'm going to do it yet, but it'll allow for the most common forms of validation, and it'll probably allow developers to extend it with custom validation rules if need be. A couple of recent modules (Facebook Forms & the Form Builder) both added their own validation code, which was daft. Better to just add it to the Core once. So I'm going to hold off releasing the Form Builder until 2.2 is done.
It'll be weeks, I think - but really not too long. First I need to update the demo, which has been out of date the day after it was released.

And yeah! I remember you made those modifications to add in the validation: very cool indeed! However, I'm going to approach it slightly differently. I'm going to keep the second tab of the Edit Field dialog to be field-type specific, and add in a third tab which lets you specify validation rules. Validation will be stored in a separate location in the DB. This will actually make the code a little simpler, but functionally it will work the same way.
Anyway, apologies for the long message. Speak soon -
Ben