Building a form using the get method and javascript

I want to build a simple form that only has two sets of radio buttons. When the visitor selects one radio button from each set and clicks the submit button, they are taken to a page base on their selection. I’ve done this outside of Wix. I just created a form tag and then I embedded the following javascript on the page:

(see it in action here: http:// www.soulmatecommunity .net / relationship-styles / )

How do I accomplish this in Wix?

The best way to build a “simple” form, is to use the built-in Wix screen elements. Code can be added if you need to provide enhancements or customization.

There is a wide selection of example forms available on the Examples page. You can load them into the Editor, play with them to see how they work, and modify them for your own needs.

Thanks for responding. Creating a simple form with two radio button inputs, I can do. But once I build the form, how do I add onSubmit="return getType() and method=get to the form tag? Also, how do I place the script on the page?

@dojoge You will need to add event handler to handle the radio buttons. You could use onChange , onClick , or others depending on your requirements.

You should play around with the examples to see how forms work.

To learn about programming with Corvid, read the following articles that will help you start working with Corvid: