より具体的な例をご紹介します。例として「グループ会社」というカスタムオブジェクト(GroupCompany)を作成し、ベースネームが「groupcompanyaddress」というカスタムフィールド(テキスト形)を作成します。 続いて、検索フォームを作成します。 <form action="search.html"> 第1条件:<input type="text" value="" name="q[]" /> 第2条件:<input type="text" value="" name="q[]" /> <input type="radio" name="and_or" value="AND" /> AND <input type="radio" name="and_or" value="OR" /> OR <input type="submit" value="検索!" /> </form
![カスタムオブジェクトをカスタムフィールドの値で検索する | PowerCMS ブログ](https://cdn-ak-scissors.b.st-hatena.com/image/square/2894a3222603245785f0d2ec073b1459b36f467c/height=288;version=1;width=512/https%3A%2F%2Fwww.powercms.jp%2Fcommon%2Fimages%2Ffacebook_share.png)