I copied the code of DBF from Databound Forms as is without any changes. (There are not js/css/external resource files. Its the exact same code from the URL above.)
Also my kfunction.php code is as follows:
I added the line
Now when I submit the form I get the Success Message (as defined in the code)
But the same does not submit to the backend.
Also, I am using CouchCMS V2.0.
Regards,
Aashish
Also my kfunction.php code is as follows:
- Code: Select all
<?php
if ( !defined('K_COUCH_DIR') ) die(); // cannot be loaded directly
//require_once( K_COUCH_DIR.'addons/cart/cart.php' );
//require_once( K_COUCH_DIR.'addons/inline/inline.php' );
//require_once( K_COUCH_DIR.'addons/extended/extended-folders.php' );
//require_once( K_COUCH_DIR.'addons/extended/extended-comments.php' );
//require_once( K_COUCH_DIR.'addons/extended/extended-users.php' );
//require_once( K_COUCH_DIR.'addons/routes/routes.php' );
//require_once( K_COUCH_DIR.'addons/jcropthumb/jcropthumb.php' );
require_once( K_COUCH_DIR.'addons/data-bound-form/data-bound-form.php' );
I added the line
as it was not there in the file.require_once( K_COUCH_DIR.'addons/data-bound-form/data-bound-form.php' );
Now when I submit the form I get the Success Message (as defined in the code)
Success: Your application has been submitted.
But the same does not submit to the backend.
Also, I am using CouchCMS V2.0.
Regards,
Aashish