Customizing fields & enabling event handlers in Dolphin form builder

newdreamers posted 29th of January 2009 in Community Voice. 8 comments.

Dolphin is fine when you just need a fairly basic registration form. However
it's rather limited if you're planning some advanced functionalities, like
say dropdown boxes dynamically populated or fields only appearing based upon previous input in the form.

Therefore I created a small patch for myself, that does the following 2 things:

1. It allows you to specify javascript event handlers for any field included
in your registration form. Note this can also be used to add additional tag
attributes (i.e. id, style etc...)

2. It allows you to specify an external PHP file that will be included to
process the display and/or handling of a given form field

You can see how it can be used here (dropdowns dynamically generated, showing/hiding fields on the fly...):

http://www.newdreamers.com/sites/NDX/join.php

If you're interested, you can access source code for free here:

http://www.newdreamers.com/sites/NDX/plugins/NDX/

It's all under the folder called addon_customize_display_and_event_handlers_for_form_fields

Hope you'll find this useful... I know I did :-)

 
Comments
·Oldest
·Top
Please login to post a comment.
sammie
thank you for sharing. i am sure some members will find it useful
ladybugn
That is fabu. I know I can use it for city after state, and the time wasting question was a hoot. Thank You!
iced
lol it is actually a good idea as some users tell me that they did know what to fill in (although the instructions are there :P)

cheers
davidh
I found that using search in the Unity Forums most of my answers get answered like how to do this. Not all but many. I knew nothing about Dolphin a few months ago and one of the first things I learned was the creating custom fields like this. I actually request a lot of information from users.

http://www.abaangler.com/join.php
driveby
This looks great. I have to try this one out. Thanks for sharing.
jtadeo
Thanks newdreamers I am sure many people appreciate this generous contribution. Great work!
GiMM
Thanks for sharing
dchecker
Very useful! Thank You!
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.
PET:0.10035705566406