Jump to content

Post Values


erich.wanker

Recommended Posts

Hello 

 

short question ..

 

i have a unigui isalp "project1.dll"

 

with a standard form methode post i will send values to the dll

the dll should not restart ..  just a "event" shoud start (Ajax ???)

and the isapi-application writes the values in a memo ..

 

 

<form action="www.test.com/project1.dll" 
method="post" accept-charset="ISO-8859-1">
<p>Name:<br>
<input name="AnwenderName" size="40"></p>
<p>E-Mail:<br>
<input name="AnwenderMail" size="40"></p>
<p>Text:<br>
<textarea name="Text" rows="5" cols="50"></textarea></p>
<p><input type="submit" value="Formulardaten absenden"></p>
</form>
 

 

how can i read the values ?

 

 

 

i try out:

 

procedure TMainForm.UniFormAjaxEvent(Sender: TComponent; EventName: string;
  Params: TStrings);
var
    j:integer;
 begin
    for j := 1 to Params.Count do
    begin
      unimemo2.Lines.Append('Values:'+inttostr(j)+' '+Params[j]);
    end;


 end;




or
unimemo2.Lines.Append('Values: '+uniapplication.Parameters.Values['test']);


 

    
 
 

but doesnt work ...

 

 

thank you

Erich

Link to comment
Share on other sites

  • 4 weeks later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...