Form Submission

What URL do I use to submit a form?  I'm using dreamweaver cc 2018.  Do I still need php to communicate this for submission?  Thanks!
Misty CorningAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

zephyr_hex (Megan)DeveloperCommented:
The "url" you use for form submission is the location of the server side code (in this case, a PHP file) that will accept the POSTED form fields and do something with them, such as save them to a database.

So, for example:

<form action="helloworld.php" method="post">
<input name="MyField" >
<button type="submit">Submit</button>
</form>

Open in new window


The "action" attribute of the form holds the value of the file that will process the form fields.  In this example, that file is called "helloworld.php" and it's located in the same directory.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Misty CorningAuthor Commented:
Thank you!  That actually does help and confirms some questions I had.
0
Misty CorningAuthor Commented:
On my radio buttons, how do I "hide" the circle and just have the words displayed?  Thanks!
0
Build an E-Commerce Site with Angular 5

Learn how to build an E-Commerce site with Angular 5, a JavaScript framework used by developers to build web, desktop, and mobile applications.

zephyr_hex (Megan)DeveloperCommented:
If you don't want the radio button to show, hide it.  You can use CSS to do that.

<input type="radio" style="display:none;">

Open in new window

0
Misty CorningAuthor Commented:
Thank you.  I see that radio buttons are for selecting just one.  Is there a certain code I need for checkboxes or radio to indicate which one they want?
0
Misty CorningAuthor Commented:
I am trying to get certain fields to allow the user to select more than one.
0
zephyr_hex (Megan)DeveloperCommented:
If you want the user to be able to select more than one, then you want to use checkboxes and not radios.  Radios are meant to allow only single select options.

You can change a radio into a checkbox by changing the input "type" attribute.

<input type="checkbox">

Open in new window

0
Misty CorningAuthor Commented:
Good.  I did it right.  When connecting, it shows:  The URL prefix "/" of your testing server does not match the URL prefix "/racial profiling/" of your site.  since you are using site relative link it is possible that your links display incorrectly at runtime.  You can edit the Web URL in your server settings.


I have tried to edit these fields, but things don't seem to work.  How do I fix this?  Do I need to send screen shots?  Thanks!
0
zephyr_hex (Megan)DeveloperCommented:
It sounds like you need to adjust your links.  If you're using relative links, the location that a link refers to on your test server may not match the location it refers to on your production site.

You can read more about relative links here:
https://helpx.adobe.com/dreamweaver/using/linking-navigation.html#WScbb6b82af5544594822510a94ae8d65-7c42a
0
Misty CorningAuthor Commented:
ok, thanks.  I'm trying to connect Dreamweaver cc 2018 to sql server.  How do I run the connection string?
0
zephyr_hex (Megan)DeveloperCommented:
You may want to open another question for that.  I know very little about Dreamweaver.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development

From novice to tech pro — start learning today.