How was this form created?

Howdy folks,

I have been looking at forms on the web and this one is really great:

How do you think this was created? JS for sure! jQuery maybe?



Inspecting something with devtools is a great practice. If you click the “Sources” tab, you can find all the files that are feeding into the rendered page. In this one, the “etc” folder contains a couple of JS files, both containing a fair amount of jQuery. I can’t really speak to what frameworks might be involved, especially handling back end. But I could certainly imagine cloning something like this using nothing more than JS, if the questions were to be hardcoded. It’s just paired with a rich-as-buttah design aesthetic.


Oh, I should elaborate: if you haven’t gotten much into jQuery and AJAX yet: yes, the ability to “have some content in the page be replaced by other content without reloading the page” is pretty much AJAX territory, and is made easier by jQuery. You can just point to an html element by its ID and say $("element").html(), or several similar methods.


Thanks for the replies! I am quite good at jQuery but not touched AJAX yet but I am guessing this is done with this. I want to try and replicate it. Would you be able to point me in the right direction please?

I have been using the view source in chrome but I can not find the JS:

Where am I looking?

You are looking at a script provided by Adobe. On the left you can see some other resources under, which is where you will probably find their actual website code. @AbdiViklas says that the scripts are under the etc folder, so I would look there. I would check for myself but I am on mobile

1 Like


Thank you everyone, I will have a good snoop around.

I am thinking that I will be fadeIn in jQuery for this!


And granted, I don’t actually see what makes it tick anywhere in there, but I could imagine something like this:

// html div id "form" contains the first multi-choice question, with buttons "yes" and "no"
//event handler, e.g. on submit:
if ($("#button").text() === "yes" {
} else {
  // loadPageB();

function loadPage2() {
    //html content, hopefully taking advantage of [template literals]( to avoid the hell of trying to write html code within js code, with a ton of single and double quotes
1 Like

I was thinking that it would be something along these lines - cheers for the help I really appreciate it.

Cheers to all . :slight_smile:

Benjamin the form was produce in JQ.

1 Like