Forums

"Form not found or is not published"

dadoonan 03 Feb, 2015
I'm using ChronoConnectivity to create backend access to the submissions from a Chronoform and have hit two road blocks.

Selecting the Admin View / View Connection, lists all of the submissions, along with an edit button are displayed.

Two of the fields (URLclient and Upload) are linked to the contents of those fields. Here is roadblock number one. Clicking on those fields results in reloading blank list page instead of loading either the url or downloading the upload.

Second roadblock occurs when clicking the edit button. The result is the following text "Form not found or is not published". Yet when viewing the connections manager, the function is published.

Ideas anyone?

david
Max_admin 04 Feb, 2015
Hi David,

Did you check the CCv5 section under the FAQs ? because the 2 questions are about the features setup and the answers are in the tutorials!

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
dadoonan 04 Feb, 2015
I've been following hard copies of the tutorials, so I must be missing something.

david
dadoonan 04 Feb, 2015
Attached is a screenshot showing:
my published connection
the result when clicking View Admin Connection (all that I'm interested in).
the result when clicking edit this record or Title ... Form not found or is not published.

By the View Admin Connection returning data, it's confirmed that ChronoConnectivity is connected to the correct Chronoform.

The Settings / Columns list includes:
_SELECTOR_
_EDIT_:edit this record
acasemodel.id:ID
acasemodel.created:created
acasemodel.Name:Name
acasemodel.Email:Email
acasemodel.City:City
acasemodel.State:State
acasemodel.Title:Title
acasemodel.URLclient:URLclient
acasemodel.Upload:Upload
acasemodel.ReviewerName:ReviewerName
acasemodel.ReviewDateSent:ReviewDateSent
acasemodel.URLreview:URLreview
acasemodel.ReviewFile:ReviewFile
acasemodel.ReviewResponse:ReviewResponse


Edit linkable contains acasemodel.Title:Title

If I place all of the fields here, the result is that all become clickable on the View Admin page, but all return the form not published


----
The Admin list / Actions / edit contains coding for an editable form.

Permissions for index, view, edit, etc. are all set to allowed for Administrator, Super Users and Owner.

What am I missing?
david
Max_admin 04 Feb, 2015
Hi David,

For any field to link to any where, like download link or file link, you need to have it in the "Links" box:
Model.field:Link here


And for the other issue, you must have used a form name under the action's config section ? if you did then please verify that the form is published and exists.

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
dadoonan 04 Feb, 2015
The name of the Chronoform is EducationalSubmission.

I changed the name of the CC Admin / Actions / edit form to FORM_NAME:EducationalSubmission. Still no luck.

See the attached screen shot for the publishing state of the Chronoform.

The CC connection is published as well, and it's Model is connected to the same db table as the Chronoform.

david
Max_admin 05 Feb, 2015
The action config should be set to:
:EducationalSubmission:EVENT_NAME

which I guess should be this in your case:
:EducationalSubmission:load
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
dadoonan 12 Feb, 2015
With :EducationSubmission:load in place, when I click Admin View / View Connection, the listing page correctly loads. But clicking on the edit link, the result is "Form name can NOT be empty!".

Because debugging is on, I can confirm that the correct ID parameter is being passed along.

Do I have the record ID coded correctly in actions / edit?

I've tried:
<input type="hidden" name="acasemodel.id" /> and <input type="hidden" name="acasemodel[ID]" /> with the same result

<form method="load"><input type="hidden" name="acasemodel[ID]" />

<label for="textfield">Name:</label>
<input type="text" name="acasemodel[Name]"><br /><br />
  
<label for="textfield">Email:</label>
<input type="text" name="acasemodel[Email]"><br /><br />
  
<label for="textfield">City:</label>
<input type="text" name="acasemodel[City]"><br /><br />
  
<label for="textfield">State:</label>
<input type="text" name="acasemodel[State]"><br /><br />
  
<label for="textfield">Submission Title:</label>
<input type="text" name="acasemodel[Title]"><br /><br />
  
<label for="textfield">URL Client:</label>
<input type="text" name="acasemodel[URLclient]"><br /><br />
  
<label for="textfield">Upload:</label>
<input type="text" name="acasemodel[Upload]"><br /><br />
  
<label for="textfield">Reviewer Name:</label>
<input type="text" name="acasemodel[ReviewerName]"><br /><br />
  
<label for="textfield">Date:</label>
<input type="text" name="acasemodel[Date]"><br /><br />
  
<label for="textfield">Review Date Sent:</label>
<input type="text" name="acasemodel[ReviewDateSent]"><br /><br />
  
<label for="textfield">URL review:</label>
<input type="text" name="acasemodel[URLreview]"><br /><br />  
  
<label for="textfield">Review File:</label>
<input type="text" name="acasemodel[ReviewFile]"><br /><br />

<label for="select">Select:</label>
    <select name="ReviewResponse" />
      <option value="No">No</option>
      <option value="Yes">Yes</option>
    </select>
    <br />
    <br />

<input type="submit" value="Submit" />
</form>
Max_admin 13 Feb, 2015
sorry, please remove the ":" at the start, so it should be:
EducationalSubmission:load
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
dadoonan 13 Feb, 2015
much better. The edit page now loads with the correct ID paramater. However the edit fields are empty.

_EDIT_:edit this record is in my admin list / settings columns list, along with the rest of the columns.

An actions edit form field is <input type="text" name="acase.Name:Name">. Is that the correct syntax?
dadoonan 14 Feb, 2015
I've ended up building my own back end interface to accomplish what needs to be done.
Max_admin 15 Feb, 2015
Ok, but the field name in the input code should be changed to: Model[field]

But if you use Chronoforms to build the form then you should not worry about this.

Regards,
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.