getting cronoform working

ianshirm 28 Nov, 2010
Hi.

I created a form with a submit button and have it saving to a table that i made.
im using crono connectivity to read from the table but nothing shows up on the connectivity page.
im using a url to go to where connectivity leads.
for the form i dont have an action url, does anyone know if thats my problem?



forms manager
Chrono Forms - Forms Manager
# Form ID Name Link Emails Tables Connected Publish
1 2 AddMudListing index.php?option=com_chronocontact&chronoformname=AddMudListing Enabled:0
Disabled:0 jos_chronoforms_AddMudListing



Chrono Connectivity - Connections Manager
Connection ID Name Link Data Publish
1 Mudlistings index.php?option=com_chronoconnectivity&connectionname=Mudlistings Show Data
Display #


This is my form code.
<div class="form_item">
  <div class="form_element cf_heading">
    <h1 class="cf_text">Mud Listing</h1>
  </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label" style="width: 150px;">Mudname:</label>
    <input class="cf_inputbox required" maxlength="150" size="30" title="Mudname:" id="text_3" name="subject" type="text" />
  </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label" style="width: 150px;">Codebase:</label>
    <input class="cf_inputbox required" maxlength="150" size="30" title="codebase:" id="text_3" name="subject" type="text" />
  </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label" style="width: 150px;">Site:</label>
    <input class="cf_inputbox required" maxlength="150" size="30" title="site:" id="text_3" name="subject" type="text" />
  </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label" style="width: 150px;">Port:</label>
    <input class="cf_inputbox required" maxlength="150" size="30" title="Port:" id="text_3" name="subject" type="text" />
  </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label" style="width: 150px;">IP:</label>
    <input class="cf_inputbox required" maxlength="150" size="30" title="IP:" id="text_3" name="subject" type="text" />

  </div>
  <div class="cfclear"> </div>
</div>


<div class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label" style="width: 150px;">Owner</label>
    <input class="cf_inputbox required" maxlength="150" size="30" title="Mud owner(s)?" id="text_3" name="subject" type="text" />

  </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label" style="width: 150px;">Email address:</label>
    <input class="cf_inputbox required validate-email" maxlength="150" size="30" title="Please enter your email address" id="text_2" name="email" type="text" />

  </div>
  <div class="cfclear"> </div>
</div>


<div class="form_item">
  <div class="form_element cf_textarea">
    <label class="cf_label" style="width: 150px;">Description</label>
    <textarea class="cf_inputbox required" rows="30" id="text_4" title="Please enter your Description" cols="35" name="message"></textarea>
  
  </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_button">
    <input value="Submit" name="button_7" type="submit" />
  </div>
  <div class="cfclear"> </div>
</div>





Any help would be greatly appreciated.
GreyHead 29 Nov, 2010
Hi ianshirm,

Does the form save the data to your table?

NB: the first few inputs all have name='subject' so they will not work correctly, only the value of the last input will be saved.

ChronoForms creates an Action URL so that shouldn't be a problem (you can check by looking at the page source for the form).

I can't tell what the ChronoConnectivity problem is from the info that you have posted. The first thing to check is that there are records saved that can be displayed.

Bob
ianshirm 29 Nov, 2010
how would i check to see if the form is saving it to the table?
GreyHead 29 Nov, 2010
Hi ianshirm,

Check with PHPMyAdmin, or the Joomla! EasySQL extension, or the ChronoForms Tables Manager, or just click the Table name link in the ChronoForms Forms Manager.

Bob
ianshirm 29 Nov, 2010
I edited the table and its saving now, but not reading..
GreyHead 29 Nov, 2010
Hi ianshirm ,

What is in the Body box of your ChronoConnectivity listing?

Bob
ianshirm 29 Nov, 2010
btw i also fixed the field names..
ianshirm 29 Nov, 2010
the body box is blank.
GreyHead 29 Nov, 2010
Hi ianshirm,

If the body box is blank then it's probably showing what you have specified. Try putting {uid} in there - or using one of the column names from your table.

There are some ChronoConnectivity tutorials here that may be helpful.

Bob
This topic is locked and no more replies can be posted.