Re: two clicks to submit a form issue

Oleksandr Moskalenko <[email protected]>
Newsgroups gmane.comp.web.quixote.user
Message-ID <[email protected]>
* Ksenia Marasanova <[email protected]> [2005-07-27 21:09:35 +0200]:

> > I have my ui.ptl file now at http://tagancha.org/download/ui.ptl
> 
> What I meant to say is that it's probably some client (html / css /
> js) issue, so you should check the html source of *rendered* form
> first :)
> 
> -- 
> Ksenia

Sorry, I misunderstood you. Below is the html source of rendered form. I don't
see anything out of line there, though.

Regards,

Alex.

P.S.: My entire app is at http://tagancha.org/download/ria-2005-07-27.tar.gz
It can be run with the simple server on port 8080 via the "run" script.

-----------------------------------------------------------------------

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>DITTO (Data Interpolation Tool v. 0.1)</title>

<style type="text/css">
        form.quixote div.title {
    font-weight: bold;
}

form.quixote br.submit,
form.quixote br.widget,
br.quixoteform {
    clear: left;
}

form.quixote div.submit br.widget {
    display: none;
}

form.quixote div.widget {
    float: left;
    padding: 4px;
    padding-right: 1em;
    margin-bottom: 6px;
}

form.quixote[action] {
    float: left;
}

form.quixote[action] &gt; div.widget {
    float: none;
}

form.quixote[action] &gt; br.widget {
    display: none;
}

form.quixote div.widget div.widget {
    padding: 0;
    margin-bottom: 0;
}

form.quixote div.SubmitWidget {
    float: left
}

form.quixote div.content {
    margin-left: 0.6em;
}

form.quixote div.SubmitWidget {
    float: left
}

form.quixote div.content {
    margin-left: 0.6em;
}

form.quixote div.content div.content {
    margin-left: 0;
}

form.quixote div.error {
    color: #c00;
    font-size: small;
    margin-top: .1em;
}

form.quixote div.hint {
    font-size: small;
    font-style: italic;
    margin-top: .1em;
}

form.quixote div.errornotice {
    color: #c00;
    padding: 0.5em;
    margin: 0.5em;
}

form.quixote div.FormTokenWidget,
form.quixote.div.HiddenWidget {
    display: none;
}

</style>
</head>
<body>
<h1>DITTO (Data Interpolation Tool v. 0.1)</h1>
<h2>Index of Refraction</h2>
<form action="" enctype="multipart/form-data" method="post" class=
"quixote"><input type="hidden" name="time" value="1122493785.43">
<div class="SingleSelectWidget widget">
<div class="title">Material Name</div>
<div class="content"><select name="material">
<option value="Silver (188-1937 nm)">Silver (188-1937 nm)</option>
<option selected="selected" value="Gold (188-1937 nm)">Gold (188-1937 nm)</option>
<option value="Copper (188-1937 nm)">Copper (188-1937 nm)</option>
</select>
</div>
</div>
<br class="SingleSelectWidget widget">
<div class="StringWidget widget">
<div class="title">Range Start, nm<span class=
"required">*</span></div>
<div class="content"><input type="text" name="begval" value="200"
size="5"></div>
</div>
<br class="StringWidget widget">
<div class="StringWidget widget">
<div class="title">Range End, nm<span class=
"required">*</span></div>
<div class="content"><input type="text" name="endval" value="1000"
size="5"></div>
</div>
<br class="StringWidget widget">
<div class="StringWidget widget">
<div class="title">Interpolation Step, nm<span class=
"required">*</span></div>
<div class="content"><input type="text" name="step" value="10"
size="4"></div>
</div>
<br class="StringWidget widget">
<div class="submit">
<div class="SubmitWidget widget">
<div class="content"><input type="submit" name="interpolate" value=
"Interpolate"></div>
</div>
<br class="SubmitWidget widget"></div>
<br class="submit"></form>
<br class="quixoteform">
<p>All previously interpolated data is located in the <a href=
"output">output</a> directory.</p>
<p><a href="about">About</a> this application.</p>
</body>
</html>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.