Back from Chicago - and back to the 'application!'

Mizpah 05 Dec, 2007
Heya Bob et all,

Ok, some of you may remember a few posts I made as I tried to get my head around this componant (there were a a couple :whistle: ), all in all its been very successfull so far - largely due to help on these forums!

So with that in mind, heres the 'where we are and what I need to do next' thread.

This link will take you to the recruitment page, for any one who wants to take a look at the form just click on a class to 'apply with' and the form will be generated.

So far we have:

Dynamically Generate a form, using get variables
we are using javascript to highlight the fields (ala woofu)
Submited form to database
Send html emails with the form content to the user and others

Doesn't sound like much phrased that way does it !πŸ˜›

We still need to:

Add the rest of the quesions in
Update email template as we do so


Current issues:

Well this is the biggest current issue!

Back from Chicago - and back to the 'application!' image 1

As you can see, in any browser whenever I load a form, the top area drops down, a brown bar appears and the axe is misaligned ? However if no form is loaded (as per the the foreground image), this area of the screen is fine! I am unsure how a form could be affecting this part of the screen can anyone shed any light ?


Current 'To Do' Plans:

1) Work out how to submit form content to a phpbb3 forum - in a formatted way (high priority) - guessing I need to add some form of 'post processor' that will look at the db, and make the post ?


2) Application form 'status':

Conceptually this is adding an autonumber field to the db when a row is added, and have an admin user interface to assign a status to that row\id (pending\accepted\rejected etc). I would like to include the ID number on the html email template - but am wondering how to query the ID and include it, I guess the email form is processed before submission to the database ?

Eventually this will lead to a 'status module' where it will list applications recieved and there status, or allow you to query the status of a given application.

If anyone can give me a prod in the correct direction with these that would be great!

Future Plans:

(a.k.a not going here quite yet!)

1) To chain questions in the form - for example you may have a drop down where the values are 1,2 and 3. A second drop down may have values 1,2,3,4,5, and 6. I want to use the first answer to 'filter' the second, i.e. if you pick 1, the second dropy down may only show 1 & 2, if you pick 2 the second drop down may only show 3 & 4 etc. I am guessing this is probably javascript ?

2) Pull some details from the phpbb3 user profile, as opposed to ask them (this is on hold pending phpbb3\joomla bridge)

3) To send a differing email template to differing users on form submission - i.e. to an admin send back an email with a link inviting them to go and change the status of an application, to the user send the form as it currently is now.

Right, that will do me for now, also just for reference, I have updated to thr latest nightly svn version of J!1.5 with no issue, and am using native mootools in the latest version of the template - I guess you are still calling your libries - I wonder how hard it would be to make everything just run from mootools ?

Thanks as always,

Miz<br><br>Post edited by: Mizpah, at: 2007/12/05 18:10
GreyHead 06 Dec, 2007
Hi Miz,

Go this and thinking about it. Will get back to you as soon as I can. The misplaced header looks like some stray code, maybe a misplaced div or a space.

Try installing the FireBug extension for Firefox and you can inspect the page to find the errant code.

Bob
Mizpah 06 Dec, 2007
Hi Bob,

Thanks as always! I have already had a look with firebug, when I turn inspect on the only area that highlights is the area below the misplaced bar ;-)
I am going to try putting the test form back, to confirm that my form is the issue!

As a extra thought - especially in light of the other changes, is there a schema or such that explains how all the code elements are put together ? I guess I understand (now) my form, my javascript, etc, The autogenerated code appears to be performing the write to the database, but I guess I am missing visibility of the code that actually performs the email and triggers\calls these bits of code?

I am assuming this code is the 'glue' that holds all of the componant parts together, and is the chronoforms module 'backend' ?

Cheers,

Miz
GreyHead 07 Dec, 2007
Hi Miz,

No schema that I know of outside Max's headπŸ™‚

Basically the code in the administrator folder runs the Form Manager; and the code in the components folder runs the forms themselves, there are two main chunks, one writes the form to the screen, the other deals with the submitted form creating the email, writing the data to the table, etc.

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