Login Retreive lost passwordRegister
Search

Forum Index / General / No Fields Available

[ This topic is solved ]

  ferdinant 08 February 05 / 22:26  
Changed at 08 February 05 / 22:27
hello ppl,

I created a form using the formhandler 3 rc 1. But I don't see any fields at all at the screen.
The only thing I see, is the nice link towards this page.

Below you'll find a piece of my script...


<?php
$oForm 
= new FormHandler();
$oForm->DBInfo($host,$db,$sTable);
$oForm->DBConnect($dbuser,$dbpass,'mysql');
$oForm->TextField("test","test");
$oForm->onCorrect("done");
$oForm->submitButton(true,false,false);
$sOutputForm $oForm->Flush(true);
$oCMS->setVal("sOutput",$sOutputForm);
?>



I use the last 2 lines in order to get the data into my template...

Either when I set the flush to true or false. Nothing appears to happen...

Any ID???

  Teye Heimans (Founder) 08 February 05 / 23:34  
The problem is the arguments you are giving in the method submitButton. These are not correct. I dont know why the whole form disapears after giving some wrong arguments. Ill put this on the todo list so that we will take a look at it.

Greetz,

--Teye

  ferdinant 08 February 05 / 23:37  
Thanx.. I'll try that one!

  Teye Heimans (Founder) 08 February 05 / 23:39  
 Quote: ferdinant
 
Thanx.. I'll try that one!


np ;-)

  ferdinant 08 February 05 / 23:39  
And that's exactly the solution to my problem!

Thanx!

  Teye Heimans (Founder) 08 February 05 / 23:40  
 Quote: ferdinant
 
And that's exactly the solution to my problem!

Thanx!



Really anoying that MSN is down, isnt it?!

  ferdinant 08 February 05 / 23:42  
Changed at 08 February 05 / 23:42
It sure is... The strangest thing is, that my cable modem's led is flashing, while normally it just stays on.

I guess my ISP connected a few wires wrong ;)

Oh sorry, this is OFF topic ;)

  Teye Heimans (Founder) 08 February 05 / 23:43  
 Quote: ferdinant
 
It sure is... The strangest thing is, that my cable modem's led is flashing, while normally it just stays on.

I guess my ISP connected a few wires wrong ;)

Oh sorry, this is OFF topic ;)


Hehe :-)

  Top


powered by PHP-GLOBE   © 2004 - 2012 FormHandler. All rights reserved.   -   Open source license