Welcome Guest, Not a member yet? Register   Sign In
Field Classes (help me)
#2

[eluser]najm[/eluser]
thank you i have solve this problem :

the controller :

Code:
<?php
class Captcha_rapyd extends Controller {  
  
    function Captcha_rapyd()  
     {  
        parent::Controller();  
        $this->load->library("rapyd");  
     }
     function index()
     {
        $this->rapyd->load("fields","dataform");  
        
        $form = new DataForm("captcha_rapyd/index/process");  
        $form->captcha = new captchaField("captcha", "captcha");
        
        //$form->build($form);
        $form->build_form();
        $data["output"] = $form->output;  
        $data["rapyd_head"] = $this->rapyd->get_head();          
        $this->load->view('captcha_rapyd_view',$data);
    }
}
  
  
?>


the view (view name is captcha_rapyd_view) :

Code:
<?=$output?>
<?=$rapyd_head?>


Messages In This Thread
Field Classes (help me) - by El Forum - 07-10-2008, 03:37 AM
Field Classes (help me) - by El Forum - 07-10-2008, 07:07 AM



Theme © iAndrew 2016 - Forum software by © MyBB