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...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...