[eluser]parham90[/eluser]
Of course. Please note that in an effort to fix the problem (which didn't work anyway), I moved the code that got the recaptcha HTML to the view, rather than the controller. So, don't worry that the $this->recaptcha->get_html() line is being repeated twice; it is not. The view code follows:
Code:
<html>
<head>
<Title>Contact Us</title>
</head>
<body>
<h1>Contact Us</h1>
<?=validation_errors()?><br/>
You can use this page to send us any comments, questions, suggestions or requests. Entering an email is required, as it will allow us to get back to you on your query.<br/>
<?=validation_errors()?><br/>
<?=form_open('welcome/contact')?>
<?=form_label('Email Address (Required)', 'email')?>
<?=form_input('Email', set_value('email'))?><br/>
<?=form_label('Name (required)', 'name')?>
<?=form_input('name', set_value('name'))?><br/>
<?=form_label('Message (required)', 'message')?>
<?=form_input('message', set_value('message'))?><br/>
<?=form_label('Phone number (optional)', 'phone')?>
<?=form_input('phone', set_value('phone'))?><br/>
<?=$this->recaptcha->get_html()?><br/>
<?=form_submit('submit', 'Send')?>
<?=form_close()?>
</body>
</html>
Thanks again for all your help.