| Author | Topic: OT: how to "post" Radiobutton & TextArea |
---|
| AUGE_OHR | OT: how to "post" Radiobutton & TextArea
on Tue, 29 Aug 2006 19:48:14 +0200hi,
im writing a Xbase++ Application to "fill webform".
now i have trouble with Radiobutton & "TextArea" in a webform to fill, how ?
greetings by OHR
Jimmy |
| mark carew | Re: OT: how to "post" Radiobutton & TextArea
on Wed, 30 Aug 2006 06:06:10 +1000On Tue, 29 Aug 2006 19:48:14 +0200, AUGE_OHR wrote:
> hi,
>
> i´m writing a Xbase++ Application to "fill webform".
> now i have trouble with Radiobutton & "TextArea" in a webform to fill, how ?
>
> greetings by OHR
> Jimmy
Hi Jimmy,
Its all in google. Look for "<form with radio button" for starters.
--------------------------
html>
<head>
<title>My Page</title>
</head>
<body>
<form name="myform" action="http://www.mydomain.com/myformhandler.cgi"
method="POST">
<div align="center"><br>
<input type="radio" name="group1" value="Milk"> Milk<br>
<input type="radio" name="group1" value="Butter" checked> Butter<br>
<input type="radio" name="group1" value="Cheese"> Cheese
<hr>
<input type="radio" name="group2" value="Water"> Water<br>
<input type="radio" name="group2" value="Beer"> Beer<br>
<input type="radio" name="group2" value="Wine" checked> Wine<br>
</div>
</form>
</body>
------------------------
HTH
Mark |
| AUGE_OHR | Re: OT: how to "post" Radiobutton & TextArea
on Wed, 30 Aug 2006 18:38:22 +0200hi,
thx for Answer, but it is not what i wanted.
i like to "set" Radiobutton by Xbase++ in your sample.
your sample is starting at "Butter" & "Wine". i like
to change it, with Xbase++, to "Milk" & "Beer".
greetings by OHR
Jimmy |
| Bruce Anderson | Re: OT: how to "post" Radiobutton & TextArea
on Wed, 30 Aug 2006 16:12:01 -0500javascript:"myform.group1[0].checked=true;" will show Milk as selected. |
| AUGE_OHR | Re: OT: how to "post" Radiobutton & TextArea
on Thu, 31 Aug 2006 16:08:06 +0200hi,
> javascript:"myform.group1[0].checked=true;" will show Milk as selected.
yes, thx this work with HTTP ... is there any solution for HTTPS ?
greetings by OHR
Jimmy |
| Sander Elias | Re: OT: how to "post" Radiobutton & TextArea
on Thu, 31 Aug 2006 17:18:41 +0200Jimmy,
>> javascript:"myform.group1[0].checked=true;" will show Milk as selected.
>
>yes, thx this work with HTTP ... is there any solution for HTTPS ?
Sure!
it's the same!
but I must set something clear.
HTTP and HTTPS are not HTML!
those are both protocols on delivering content (while that content
usually is HTML, this is not always' the case!)
the difference between the 2 is that httpS is running on a secured
'line' (to put it simple, there's a bit more to it!)
there is no difference in content between the 2
so if your html-page+ java script works, it works for both!
Regards
Sander Elias
-------------------------------------------------------------
xbHCL (http://www.xbHCL.com) the xbase HTML command layer
PBIH (http://pbih.eu) Polar Bear International Hosting
-------------------------------------------------------------
also a member off the XXP (http://www.xxp.nl) |
| AUGE_OHR | Re: OT: how to "post" Radiobutton & TextArea
on Tue, 05 Sep 2006 19:30:28 +0200hi,
> so if your html-page+ java script works, it works for both!
sorry it me again. Now i have a "TextArea" and a "Button
in a Webform which is called like that :
OnClick="JsFunction"
so :
1.) while it is a HTTPS i can not start "my" java-script ?
2.) how "send OnClick" to get "JsFunction" ?
3.) i have some "TextArea", how to "fill" these
perhaps i need some other "Tools" to "fill Webforms" , but what ?
greetings by OHR
Jimmy |
| Hubert Brandel | Re: OT: how to "post" Radiobutton & TextArea
on Thu, 23 Nov 2006 19:13:09 +0100AUGE_OHR schrieb:
> Now i have a "TextArea" ... how to "fill" these
This is a Textarea empty to fill in:
<textarea id=anmerkung name=anmerkung cols="60" rows="10"> </textarea>
and this is it with prefilled text:
<textarea id=anmerkung name=anmerkung cols="60" rows="10"> Hi this is my
own text </textarea>
If you have the Prof. Subscription you can use the 'HTML Reflection
Framework' to get the variables and fill them. Otherwise you have to
hack the values by yourself, and fill them with text.
By
Hubert
----------------
Ich empfehle: www.xbaseforum.de (in deutsch)
Homepage:
German - www.familie-brandel.de/index.htm
English - www.familie-brandel.de/index_e.htm |
| Hubert Brandel | Re: OT: how to "post" Radiobutton & TextArea
on Thu, 23 Nov 2006 19:01:55 +0100AUGE_OHR schrieb:
> thx for Answer, but it is not what i wanted.
> i like to "set" Radiobutton by Xbase++ in your sample.
> your sample is starting at "Butter" & "Wine". i like
> to change it, with Xbase++, to "Milk" & "Beer".
Hi Jimmy,
the HTML code to select/preselect is this:
<input type="radio" name="Typ" value="Wein">
<input type="radio" name="Typ" value="Bier" checked>
<input type="radio" name="Typ" value="Limo">
In this example the radiobutton group 'TYP' has the
prechecked value 'Bier' if you want to change it
you have to delete the Text and write it to the other line.
A good place to look about this is here: http://de.selfhtml.org/ (german)
Bye
Hubert
----------------
Ich empfehle: www.xbaseforum.de (in deutsch)
Homepage:
German - www.familie-brandel.de/index.htm
English - www.familie-brandel.de/index_e.htm |