Help for this page

Select Code to Download


  1. or download this
    package MediaBlogger::Form::Admin::Create_Post;
    
    ...
        $self->field('affiliate_link')->required($required);
        $self->field('short_affiliate_link')->required($required);
    };
    
  2. or download this
    Caught exception in MediaBlogger::Controller::Admin->sets "Attribute (
    +params) does not pass the type constraint because: Validation failed 
    +for 'HashRef' failed with value affiliates at C:\Catalyst App2\MediaB
    +logger\lib/MediaBlogger/Form/Admin/Create_Post.pm line 29
    
  3. or download this
    if( $self->params('affiliates') eq 'new' ) {