Jump to content

How to create php form like this?!


Ramadan

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.

Link to comment
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.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

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.