<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>BTT</author_name>
  <author_url>https://blog.hatena.ne.jp/BTT/</author_url>
  <blog_title>BTT's blog</blog_title>
  <blog_url>https://btt.hatenablog.com/</blog_url>
  <categories>
    <anon>PHP</anon>
    <anon>FuelPHP</anon>
  </categories>
  <description>Fieldsetでのバリデーション 前回作成したフォームに対し、入力チェックを付けてみる。基本的には、addで作成したフォームに対しadd_ruleで、入力チェックルールを追加していく形。 例 $form-&gt;add('name', 'お名前', array('maxlength' =&gt; 8)); -&gt;add_rule('required') -&gt;add_rule('max_length', 8); Validationを見ると、以下のルール以外にも、PHPの関数やコールバックが使える模様 required match_value match_pattern match_field min_le…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbtt.hatenablog.com%2Fentry%2F2012%2F06%2F14%2F104628&quot; title=&quot; FuelPHPでフォーム作成2(Fieldset) - Validation - BTT&amp;#39;s blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>http://cdn-ak.f.st-hatena.com/images/fotolife/B/BTT/20120614/20120614100955.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-06-14 10:46:28</published>
  <title> FuelPHPでフォーム作成2(Fieldset) - Validation</title>
  <type>rich</type>
  <url>https://btt.hatenablog.com/entry/2012/06/14/104628</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
