What are these called and how to build it in Dreamweaver?

Hi guys,

CC here,possibly a noob question but I wanted to know how to build something similar to this webpage.

http://www.ratekhoj.com/home-loans/home-loan-rates-la/index.php?emiloantype=loan

It is like …some criteria is filled and accordingly data is thrown in the next page.

What is it called ? forms ?

I think this webpage is coded in PHP , so wondering if it is possible to use dreamweaver cs5 to build something similar.

Much Appreciated,
CC

Yes forms, you could use notepad to build them, you only need a good text editor, and knowledge of course. Long time since I opted out of dreamweaver but it should have some pre-built form functionality for you.

generally when dealing with forms some type of sever side language needs to be involved and probably even a database. So to answer the question it can be done with Dreamweaver but it would merely be used no different than a note pad – doing the programming yourself. Leading the actual question which is would Dreamweaver automate something like that the answer is a no. There may be tools available online to achieve specific goals partially but I wouldn’t hold your breath.

First off I would recommend NOT using Dreamweaver… it’s such a low quality form of coding…

Anyways, yes i suppose DW COULD do it, but you could write it just as easily and more functional if you had the knowledge and made it in NotePad. Though you’ll need JS or PHP/mySQL to actually get the form operational. The form itself is just basic HTML and styled with CSS

There is a lot to be said for doing it yourself - because you learn more that way. On the other hand, you can always be lazy and install something off the shelf. Here are some (mostly) free forms builders. You will need to investigate which ones would be most suitable and I’m sure a Google search would unearth more.

Cheers - Ingenyes

http://www.w3.org/MarkUp/Forms/wiki/XForms_Implementations

http://www.formtools.org/

Another popular option is WooFoo.

Yeah I like Woofoo too. But I don’t think it has any calculator function (?)

Ingenyes

Ah, right, I’m not sure about that. Didn’t notice that requirement. :slight_smile:

Hi ,

thank you for your replies.I dont think any database is being accessed with these forms .The way it is working is …based on the selection in those drop downs … a html page with data is thrown.

The examples of forms that I see everywhere is a contact form or a feedback form .I dont see examples of forms where if I select variables in a dropdown then accordingly a web page is thrown up.

How do I build that .

Much Appreciated

Could you explain the whole process of what this form will do? Presumably something needs to happen before the user is redirected to another chosen page (as otherwise you would just need a list of page links.

Hi ,
thank you for your interest.I will explain the process.

1)The user goes to this link : http://www.ratekhoj.com/car-loans/all/index.php

2)In the “Purchase of:” dropdown he selects one value.

The value selected in this dropdown will decide the value in the following drop down.

3)In the “Loan Duration in Years:” dropdown he selects another value.

4)Based on the above two selections : the user will reach http://www.ratekhoj.com/car-loans/all/results.php?post=Submit+your+choices&cartype=oldcars&duration=2

So the point is if the user selects any value or the combination of values , he is redirected to a certain page.

So lets say I want a loan for my car for 5 years.So I select “5 years” in one dropdown and I select “car” in another dropdown and I get redirected to a page will shows all the available loans for the duration of 5 years for a car.

I hope this explains.

Much Appreciated

I’m not a PHP developer but it sounds like you need a form that hooks into a database.

if A then go to 1.
If B then go to 2.

I’m sure you could find an easy WYSIWYG database forms builder if you Google searched it.

I am terribly sorry for bumping this thread but I really need an answer for this.

I have searched for forms online but they are forms for collecting information about people like name ,contact number etc

I need to know how to make forms or whatever they are called the way they are on this site.

One drop down is driven by what you select in the earlier drop down and then the resultant page.

Regards

That’s usually controlled by JavaScript (and enhanced with Ajax). I don’t know a good tutorial for that off the top of my head, though. You could perhaps Google topics like “jQuery / Ajax display fields based on selection” or similar.

Hi Ralph,

Thank you for replying .See I will explain how the standard process is supposed to work or atleast how I want it to work.

1)The user comes to my site.

2)He selects “Insurance”

3)He is presented with 4 dropdowns (Dropdown A , Dropdown B , Dropdown C and Dropdown D)

4)The items in each dropdown depend on the selection in the earlier drop down ex:- Items populated in Dropdown D will depend on Dropdown C .

5)After selecting the values in all the 4 dropdowns , the user will click “Submit” .

6)The user lands on the appropriate page.

I am not looking for any ready made script .I only want to know if Javascript is sufficient for something like this or do I need do it via PHP-MySQL .I am ready to learn …I dont want any ready made script.

I’m not the best person to advise on this, but my response, given what you’ve described, is that PHP should be behind this, and that you can enhance it with JS/Ajax. The on-page response to various choices (without refreshing the page) requires JS, but the form submission is best done with a server side language like PHP. If the use has JS dsabled, you still need the whole thing to work tolerably. With JS off, each dropdown choice would presumably lead to a page refresh and new set of choices in the next dropdown.