Jump to content
Ramadan

How to create php form like this?!

Recommended Posts

Since it is ANOTHER LANGUAGE! what exactly are you looking to do? You probably want to use div tags to separate the different sections. Then use proper CSS and HTML to display the contents of each. Be sure to write your script to keep all of this complex html code SEPARATE from the php code that is creating the dynamic parts. Dont' mix php code inside the html - it just makes it too difficult to read and maintain.

  • Like 1

Share this post


Link to post
Share on other sites

The only "form" I see on that site is a group of radio buttons. The only thing special I see is that the radio buttons possibly have custom CSS applied to change their appearance. See this example: https://www.w3schools.com/howto/howto_css_custom_checkbox.asp

 

Or, it could be that they are "plain" radio buttons at all. They also look similar to JQueryUI radio buttons: https://jqueryui.com/checkboxradio/#radiogroup

Except that the example above has the button and label within a "button" that changes background color based on the selected state of the radio button.

 

Or, if there is more to the form than the radio buttons, you will need to point it out. That was the only thing I saw as field input on that page.

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.