title: Creating popup window with a text input for CakePHP
body: <p>I'm using CakePHP 2.3.8 and I want to create a popup upon clicking a link that will have a textxbox input. For example, click a refund button/link, and then a popup appears with an input for the refund amount.</p>
  
  <p>I know how to make confirmation boxes from a link, but I have no idea how to add a text box to it or how to modify it in any way. Ex:</p>
  
  <pre><code>echo $this-&gt;Html-&gt;link('Something', array('controller' =&gt; 'mycontroller', 'action' =&gt; 'dosomething', 6),array(),"Are you sure you wish to do something?");
  </code></pre>
  
  <p>Can I do this with the form helper, or is it something I need JavaScript/jQuery for? </p>
  
  <p><strong>edit I called a friend and he figured it out. He wasn't sure how to do it with the linkhelper, but was able to do it with the formhelper.</strong></p>
  
  <pre><code>echo $this-&gt;Form-&gt;create('refund',array('onsubmit'=&gt;'return prompt("Refund Value");'));
  </code></pre>