Confimation Page Buttons

moriwenne 05 May, 2009
Greets. Congrats on what so far seems to be a perfect component. Great features, very complete and lots of support.

I installed chronosforms on my home server and I was testing it out.
I was wondering about the following:

I set up a confirmation page using the cp plugin and I would like to know where the submit and back buttons come from? What can I affect to change those? Basically I want to change all of it, the css of the button plus the text.

Thank you
Max_admin 06 May, 2009
Hi moriwenne,

Thank you, I want to make sure we are going in the right way, why are you trying to use the confirmation page plugin ?

you can disable the buttons and use yours!

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
moriwenne 06 May, 2009
Hmm, why am I trying to use the conf. page plugin hmm I reckon it is to give the user one final look at the data before pressing that 'inexorable' submit button and also give him the option to go back if he likes.
The plugin page offers me the choices

Disable editor? No, I want to see what I'm going to get
Buttons enable? Yes, I want the user to be able to go back or submit

Conf. page code: I basically wrote some text along with {fieldnames} to have it show so the user can validate.

I suppose the option above for the buttons is putting those buttons in that page. If I disable it how do I give the user my own buttons then?

Cheers
Mori
GreyHead 07 May, 2009
Hi Mori,

The code for the button block is very simple
div class="form_element cf_button">
<input type="submit" value="Submit" name="confirm"/>
<input type="submit" value="Back" name="confirm"/>
</div>
So you can disable the standard buttons and create your own with the same names but different values.

You will need to set Editor Disabled to 'Yes' to get the plain text editor in the Configuration page.

Bob
moriwenne 07 May, 2009
Ah ic, I can code in that box as well by disabling the editor.
Thank you for the clarification Bob.

Mori
GreyHead 07 May, 2009
Hi Mori,

Yes that's it - took me a while to work it out.

Bob
Max_admin 08 May, 2009
Hi Mori,

Some notes, the 2 buttons values should stay the same since they are used in the plugin code!

there is a bug in the plugin which Bob found yesterday and I fixed it and it will be in RC5.1 so get this upgrade once its out!

Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
moriwenne 08 May, 2009
Hey Max.

What do you mean by stay the same? Same as what exactly? Submit and back?
Also, what did this bug cause exactly, I'm unsure If I experienced it for I was having a bit of a problem with the buttons.

Cheers
Mori

PS: Pace yourself with these RC versions or you'll explode, take a week off or something ^^
Max_admin 08 May, 2009
Hi Mori,

yes, "Submit" should be submit, back may be changed!

the bug is when you click the back, the form is loaded again but another part form is loaded too!

I'm trying to give myself some breaks from time to time🙂 Thanks!

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Phil91 02 Jun, 2009
Hi,

I am referring to this above discussion: I do exactly experience the same as Mori did and saw your reply...It looks like the form fields get restored okay when you hit the Back button, but the captcha stays there too...This means that if you try to submit again, you get an "Invalid captcha" style error whereas you didn't ask for it...Wouldn't it be simpler then to just be able to disable the Back button and tell the user to redo the selection? Unless you want of course to look into it😀

Not good enough in php-Joomla kit to do it unfortunately...at least for now...

Thanks

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