Filling html form vars with values

Filling html form vars with values

Postby AHF » Sat Jan 05, 2008 11:14 am

Hello,

Does anyone knows how to build a string to iexplore in order to open a page with the form vars already populated with values.

Antonio
AHF
 
Posts: 838
Joined: Fri Feb 10, 2006 12:14 pm

Postby Jack » Sat Jan 05, 2008 11:23 am

Try to open the HTML file as a text file.
Change the value with strtran function
Save all as html file
Open this file with ie .
Jack
 
Posts: 288
Joined: Wed Jul 11, 2007 11:06 am

Postby AHF » Sat Jan 05, 2008 12:14 pm

How can I fill it ?
html page is with a frontpage form.

Antonio
AHF
 
Posts: 838
Joined: Fri Feb 10, 2006 12:14 pm

Postby Enrico Maria Giordano » Sat Jan 05, 2008 12:21 pm

It's not so easy. You must identify the various input type tags and replace (or add) the value clause.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8716
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Filling HTML with vars

Postby ukoenig » Sat Jan 05, 2008 5:55 pm

I created a Form with Namo-Webeditor
with tables and more.
At all places where i want to see a var
i put the var-name like ?var1? ....
Afterwards i used a editor to replace the ?var?
with the database-fields like (1)->customer and so on.
Inside the html you can to calculations and more.
It works fine like that.

Greetings from Germany :lol:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: Filling HTML with vars

Postby Enrico Maria Giordano » Sat Jan 05, 2008 6:10 pm

Yes, nice solution if AHF is the author of those HTML pages.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8716
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 68 guests