Forums

[Solve]Adding breadcrumb in Multi Page Form & replace button

raihan 16 Feb, 2013
Hi,

I have created a multi-page form of say 10 pages. Now to go Back or Forward I have added 'Back' button in 'Submit' element. The problem is, if I wish go to Page 2, while I am in Page 10, I have to use Back button many times. So, how I can include breadcrumb on the top of the form, so I can just click on the form page I wish to go, pls?

Also, it seems in 'Submit' element - if I use 'Reset' button, it doesn't Reset or Clear the data in the form page. How it may works, pls?

Further more, When I add 'Back' and 'Reset' button, including 'Submit' button - it seems the order of placement like Submit, then Reset, then showws the Back button. How I can change the order to show the buttons any other way, pls?

Thank you in advance.


Raihan
GreyHead 16 Feb, 2013
Hi raihan,

1) For the breadcrumbs you could add a row of links in a Custom Element element. If you include the code from a file with a PHP include() statement then you can use the same code in each page (with perhaps a little JavaScript to hide the link to the current page).

2) The Reset button uses the normal browser reset function and should reset the current form page to the input contents when the current page was loaded.

3) I posted here a couple of days a ago a way to hack the CF core code to switch around the Back and Reset buttons.

Bob
raihan 16 Feb, 2013
Hi Bob,

Thanks for your reply.

Could you please post a bit details about breadcrumb. It will be very helpful. I am not clear, what you have been posted.

Also how I can clear the form entries, when I press Clear or Reset button, pls?

Thanking you.

Raihan
GreyHead 17 Feb, 2013
Hi Raihan,

It would just be a row of links:
<div id='cf_breadcrumb' ><a href='link_to_first_page'>Page 1</a>. . . <a href='link_to_last_page'>Page 99</a></div>

Bob
raihan 18 Feb, 2013
Thank you Bob.

It is solved, but it seems I have to copy & paste in each custom element for each of the page break. Is there any other solution way around, pls? So, I think it might reduce memory uses, while the form is loaded. I don't know much about programming, though.

Thanks again.

Raihan
GreyHead 19 Feb, 2013
Hi Raihan,

There's nothing easier that I know about I'm afraid.

Bob
raihan 22 Feb, 2013
Thank you for your previous replies.

Still I can't clear my form entries, when I click on my Clear button. I may need some sort of programming here, but don't know - just to clear all the data from the form. All the entries will be just empty into the form page.

Please help!!! Thanking you.
GreyHead 22 Feb, 2013
Hi Raihan,

Please post a link to the form so I can take a quick look.

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