Telegram_2021-03-29T18

<< Click to Display Table of Contents >>

Navigation:  Telegram > 2021 > 03 > 29 >

Telegram_2021-03-29T18

Telegram link

 

2021-03-29T18:02:37

 

But why? Do you have a specific reason that you are not doing this the standard way?

 

Its the same as in Delphi. In click or whatever event, after you create the second form just set the IW control property. xForm2.Edit1.Text = 'whatever'

 


 

Telegram link

 

2021-03-29T18:19:02

 

Tform1 has a template with HTML code and IW code - Tform2 is equal to Tform1 with IW and HTML codes.

 

A button in Tform1 calls Tform2,

 

In Tform2 I have an HTML code \

ame =\ descriptionInput \id =\ description \maxlength =\ 127 \value =\ \>\

 

I want to put the value of an IWEdit to the value of this input (value = IWEdit)

 

How can I do it?

 


 

Telegram link

 

2021-03-29T18:20:31

 

Why do you have a raw input type instead of using a standard TIWEdit?

 


 

Telegram link

 

2021-03-29T18:21:16

 

Are you trying to interop with some old CGI script or some external processing?

 


 

Telegram link

 

2021-03-29T18:24:44

 

I am using a code from a Paypal button and I want to test it on a web page.

 

I have to show that Paypal code in HTML format.

 

I want the Paypal code to show me 2 values ??that I enter in the calling module.

 

How do I put them in HTML format?

 


 

Telegram link

 

2021-03-29T18:26:25

 

You can use a custom template tag and there is an event that lets you supply the values, or you can use TIWText with raw output and stick all of the HTML in that. There are other ways also but those are the simplest

 


 

Telegram link

 

2021-03-29T18:26:27

 

I have no problem displaying an IWEdit from one form to another, what I cannot is to display a variable of form 1 in HTML format in form 2.

 


 

Telegram link

 

2021-03-29T18:27:09

 

Its very rare to need to do that so I wanted to make sure your need was valid first

 


 

Telegram link

 

2021-03-29T18:30:37

 

Okay. I'm going to check what I'm doing. Thank you.

 


 

Telegram link

 

2021-03-29T18:31:39

 

Integration with external things like PayPal is usually when this type of stuff is needed. We do it in our own purchase system to hand data off to our credit card provider

 


 

Telegram link

 

2021-03-29T18:32:40

 

is there an example for this situation?

 


 

Telegram link

 

2021-03-29T18:33:43

 

I vaguely remember something...might be in demos. If not its really simple to do. I'm not in office right now to look through. I'm replying using my phone right now

 


 

Telegram link

 

2021-03-29T18:35:32

 

Okay. Very grateful for your attention.

 


 

Telegram link

 

2021-03-29T18:36:24

 

Look at the custom tag event. I think there is a demo for that

 


 

Telegram link

 

2021-03-29T18:36:49

 

Iirc its an event on the template processor itself

 


 

Telegram link

 

2021-03-29T18:37:10

 

Demos, which version of Intraweb are you on? I have 15.1.14

 


 

Telegram link

 

2021-03-29T18:37:47

 

You'll need to check both 14 and 15. Its probably in 14 but 14 demos work for 15

 


 

Telegram link

 

2021-03-29T18:39:13

 

I'm going to review the demos.

 


 

Telegram link

 

2021-03-29T18:51:17

 

type: mention_name Wilfredo user_id: 1719068720 i don't know it's help you, but you can try:

 

type: pre with TIWForm2.Create(WebApplication) do begin

 

IWLabel_Form2.Text := IWLabel_Form1.Text;

 

Show;

 

end;

 

Form1.Release; language: