Hi,
I am trying to validate data from an association the I output to the
view like:
$this-set('countries', $this-Customer-Country-find('list'));
and in the view:
echo $form-input('Customer.country'); // Results in select
How would I validate the input of this form? I was thinking I could
use
Hi,
This is probably simple, but I can't find any specifics on it.
I have a controller called ledger_controller, which uses two models:
Ledgeraccount and Ledgertransaction. Within this controller i have a
function called chartofaccounts, which includes a form, with an action
that leads to the
, Feb 2, 2009 at 3:23 PM, Mickiii michael.la...@gmail.com wrote:
Hi,
This is probably simple, but I can't find any specifics on it.
I have a controller called ledger_controller, which uses two models:
Ledgeraccount and Ledgertransaction. Within this controller i have a
function called
Hang on, I just found this post in the Bakery:
http://bakery.cakephp.org/articles/view/validation-in-another-controller
Does that still apply? Or has there been done anything built in stuff
in the latest version of Cake?
On Feb 2, 9:40 pm, Mickiii michael.la...@gmail.com wrote:
Thanks Brian
Miles, is that not what the 'url' option is doing?
On Feb 2, 10:54 pm, Miles J mileswjohn...@gmail.com wrote:
Just change the url the form is posting to.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP
I have tried to search, but I can't seem to find anything that helps
me.
I have installed MAMP server on my mac, running OS X 10.5.5. I have
then set the ports to the default, meaning port 80 for Apache and port
3306 for MySQL. If I now go to localhost, cakephp renders correctly
the initial
Thanks for your reply, I have checked the httpd.conf located in the
mamp folder /mamp/conf/apache/httpd.conf, and checked for the lines:
LoadModule rewrite_module modules/mod_rewrite.so
DocumentRoot /Users/user_name/Development/my_app and finally that
this directory has AllowOverride set to All
know, the .htaccess files did not copy and
paste even though I grabbed the whole directory.
Extract cake to where you want to work on it.
Chad
On Fri, Dec 26, 2008 at 5:41 PM, Mickiii michael.la...@gmail.com wrote:
Thanks for your reply, I have checked the httpd.conf located in the
mamp
Hi,
I am in the process of building and specific business administration
system, where clients subscribe on the application. Initially I
planned on giving each client their own database, and then by
controlling on login, connecting each client to their individual
database. This has worked fine
Thanks, you were spot on, I just updated to the latest SVN checkout,
and now it seems to work. Although the new blank rule, instead of the,
soon deprecated, VALID_NOT_EMPTY, still doesnt work.
On 10 Jun., 07:44, Dr. Tarique Sani [EMAIL PROTECTED] wrote:
On 6/9/07, Mickiii [EMAIL PROTECTED
How do I add several validationrules per field? I have tried:
var $validate = array(
'glaccount_no' = array(
array(
'rule' = array('blank'),
'message' = 'test1'
Did you do this step:
---
1. Make thtml files editable in the design view
- Find the Extensions.txt file in Dreamweaver's Configuration folder
and edit the line
PHP,PHP3,PHP4,PHP5,TPL:PHP Files
to read
PHP,PHP3,PHP4,PHP5,TPL,THTML:PHP Files
This tells DW to treat these
12 matches
Mail list logo