Jump to content

How to create php form like this?!


Go to solution Solved by Psycho,

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
Link to post
Share on other sites
  • Solution

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
Link to post
Share on other sites
This thread is more than a year old.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.