Newbie needs your help

Smartdevil 25 Feb, 2009
Hi
Firstly, Thanks for creating this component. It's just wonderful.

Now to the question. I am tying to create a link exchange form which i want to display to the user so they can submit their URL details & where they have placed my link.
The problem is that i am trying to display the code for my link which they can copy and paste on their website. But chronoform keep on converting my code to a link rather then leaving it as text.
How can i achieve this?

Below is the code that i have created
<div class="form_item">
  <div class="form_element cf_heading">
    <h1 class="cf_text">Reciprocal URL Request</h1>
  </div>
  <div class="clear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_heading">
    <h4 class="cf_text">Please add my code below to your site first</h4>
  </div>
  <div class="clear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_text"> <span class="cf_text"><a href="http://www.irfanfaruki.com">Technology Blog</a></span> </div>
  <div class="clear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label" style="width: 175px;">Your Name</label>
    <input class="cf_inputbox required" maxlength="150" size="30" id="text_6" name="text_name" type="text" />
  
  </div>
  <div class="clear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label" style="width: 175px;">Anchor Text</label>
    <input class="cf_inputbox required" maxlength="150" size="30" id="text_9" name="text_anchortext" type="text" />
  
  </div>
  <div class="clear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label" style="width: 175px;">Your Email</label>
    <input class="cf_inputbox required validate-email" maxlength="150" size="30" id="text_8" name="text_email" type="text" />
  
  </div>
  <div class="clear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label" style="width: 175px;">Your Web URL</label>
    <input class="cf_inputbox required validate-url" maxlength="150" size="30" id="text_10" name="text_URL" type="text" />
  
  </div>
  <div class="clear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label" style="width: 175px;">Reciprocal Link Location</label>
    <input class="cf_inputbox required validate-url" maxlength="150" size="30" id="text_11" name="text_reci_url" type="text" />
  
  </div>
  <div class="clear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_captcha">
    <label class="cf_label" style="width: 175px;">Captcha</label>
    <span>{imageverification}</span> 
    
    </div>
  <div class="clear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_button">
    <input value="Submit" type="submit" />
  </div>
  <div class="clear"> </div>
</div>


You help with this is much appriciated.
Thanks
SD
GreyHead 25 Feb, 2009
Hi SmartDevil,

Try replacing this
<a href="http://www.irfanfaruki.com">Technology Blog</a>
with
<pre><a href="http://www.irfanfaruki.com">Technology Blog</a></pre>

Bob
Smartdevil 25 Feb, 2009
Thanks for quick reply. But adding "pre" did not make any difference
Max_admin 25 Feb, 2009
Hi SmartDevil,

Chronoforms is not doing this but its the HTML tags and how the browser renders it, try to google "how to show html as code" or "how to stop browser from rendering html in my webpage"

Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.