Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

Specifically, this is an HTML <form> having two <input> boxes, each having distinct names, that are rendered side-by-side.   When the user enters data into one or both fields and then presses some kind of “submit” button (or, the form submits itself using JavaScript), the values in one or both fields will be included in the HTTP GET or POST stream that is sent to the server.   You should also be aware that the value will be sent only if it is not-empty and if it has changed.   (Easily the best way to see this is to use the debugging capability of any browser which will let you see the HTTP exchange that takes place.   Create a form, type something, hit the submit-button, and watch.   Or, check out the web-page referred-to below.)

When the data arrives on the host side and is processed by Perl, anything that is actually present in the stream can be retrieved using its name.

Now, having said all of this, this really is more of an HTML question than strictly a Perl one.   Although server-side languages vary, the fundamentals of what they’re dealing with are not, and this question appears to mostly concern those fundamentals.   Therefore, may I suggest that you spend time at http://www.w3schools.com where a very large amount of good tutorial information is presented in the form of online web tutorials.   (They include interactive forms that allow you to “try it,” and to immediately see the result.)


In reply to Re: post url with 2 input by sundialsvc4
in thread post url with 2 input by bigup401

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (9)
As of 2024-04-18 12:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found