Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Send data entered in a text area to another perl file
adityadpatel
Hi,
I am creating an html page(HTML written inside a perl code) having a textarea. And a button(say submit).
On clicking this button , text entered in the textarea should be sent to another perl code (say perlcode2.pl).
.
Find more posts tagged with
Comments
vicious
You have got to be kidding me. I am up for helping but this is not it. Have you even searched online(google?).
Its not "html in perl", CGI is the word u looking for.
Nikunj
hi,
Am assuming you are talking about...CGI Task..
Ok here u can set some hidden input type field.....
e.g.
< input type="hidden" name="flag" value="true" >
Now in ur ipl u can write something like:
< form action="YOUR_Current_Script_name" method="post" >
Above statement what it does is..when u submit the forms it "reruns" your ipl...
So now in your ipl check the value of this hidden field..
if true than get the value of your textarea insome perl variable than do whatevr u want....
Some thing like this....
my $flag = $cgi->{form}{flag};
if($flag eq "true"){
my $txtareaval = $cgi->{form}{textarea_field_name};
`iwhome\iwperl\bin\iwperl abc.ipl $textareaval`;
}
you can refer sample_cgi_task.ipl...provided by interwoven.....search for it u will get it....
adityadpatel
Thank You.