<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Create an action confirm form using &#8220;confirm_form()&#8221; function in Drupal</title>
	<atom:link href="http://www.akchauhan.com/create-an-action-confirm-form-using-confirm_form-function-in-drupal/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.akchauhan.com/create-an-action-confirm-form-using-confirm_form-function-in-drupal/</link>
	<description>PHP, MySql, JavaScript, JQuery, Prototype, Drupal, HTML, CSS and more...</description>
	<lastBuildDate>Thu, 05 Jan 2012 12:42:37 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Ajay</title>
		<link>http://www.akchauhan.com/create-an-action-confirm-form-using-confirm_form-function-in-drupal/comment-page-1/#comment-15144</link>
		<dc:creator>Ajay</dc:creator>
		<pubDate>Wed, 28 Jul 2010 07:37:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.akchauhan.com/?p=380#comment-15144</guid>
		<description>Thanks for a great tutorial, your example in step 2 lists records by &quot;$str .= theme_table($header, $row);
&quot;. 
1. Now if we simply add &quot;$str .= theme(&#039;pager&#039;, NULL, $limit, 0);&quot;, we&#039;ll get a paginated listing.

2. With this paginated listing how can we add check boxes (array) with all the records and a delete button on top/bottom of listing to perform a bulk delete operation?

Thanks</description>
		<content:encoded><![CDATA[<p>Thanks for a great tutorial, your example in step 2 lists records by &#8220;$str .= theme_table($header, $row);<br />
&#8220;.<br />
1. Now if we simply add &#8220;$str .= theme(&#8216;pager&#8217;, NULL, $limit, 0);&#8221;, we&#8217;ll get a paginated listing.</p>
<p>2. With this paginated listing how can we add check boxes (array) with all the records and a delete button on top/bottom of listing to perform a bulk delete operation?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jaime Navarro</title>
		<link>http://www.akchauhan.com/create-an-action-confirm-form-using-confirm_form-function-in-drupal/comment-page-1/#comment-9600</link>
		<dc:creator>Jaime Navarro</dc:creator>
		<pubDate>Fri, 05 Feb 2010 11:58:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.akchauhan.com/?p=380#comment-9600</guid>
		<description>Thanks, great tutorial!

I tried to test it in my page but I did not succeed.

I try to explain the best i can, my english is bad.

I work in a web page of dentinsts profiles (CCK content type with a lot of fields), I need to show a button at the edit form which set the status of node to 0. But I want to show a confirm form before. I do not get it to work with a button submit.

Thank you.</description>
		<content:encoded><![CDATA[<p>Thanks, great tutorial!</p>
<p>I tried to test it in my page but I did not succeed.</p>
<p>I try to explain the best i can, my english is bad.</p>
<p>I work in a web page of dentinsts profiles (CCK content type with a lot of fields), I need to show a button at the edit form which set the status of node to 0. But I want to show a confirm form before. I do not get it to work with a button submit.</p>
<p>Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Slater</title>
		<link>http://www.akchauhan.com/create-an-action-confirm-form-using-confirm_form-function-in-drupal/comment-page-1/#comment-7928</link>
		<dc:creator>Matthew Slater</dc:creator>
		<pubDate>Wed, 16 Dec 2009 13:39:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.akchauhan.com/?p=380#comment-7928</guid>
		<description>&lt;a href=&quot;#comment-7924&quot; rel=&quot;nofollow&quot;&gt;@ admin&lt;/a&gt; 
Thanks. Multistep isn&#039;t working well for me, the code is too deep. But I guess I shall have to choose between them.</description>
		<content:encoded><![CDATA[<p><a href="#comment-7924" rel="nofollow">@ admin</a><br />
Thanks. Multistep isn&#8217;t working well for me, the code is too deep. But I guess I shall have to choose between them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.akchauhan.com/create-an-action-confirm-form-using-confirm_form-function-in-drupal/comment-page-1/#comment-7924</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Wed, 16 Dec 2009 11:18:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.akchauhan.com/?p=380#comment-7924</guid>
		<description>&lt;a href=&quot;#comment-7920&quot; rel=&quot;nofollow&quot;&gt;@ Matthew Slater&lt;/a&gt; 
Hi Matthew,

I understand your question. I&#039;m not sure we can achieve your requirement through confirm_form. But you can try Drupal Multi-step forms. You can create first step form for input and second step form for confirmation. Some useful links.

1. http://drupal.org/node/262422 (Code sample #10)
2. http://jeff.viapositiva.net/drupal/dynamic-forms

You can also Google for more information.</description>
		<content:encoded><![CDATA[<p><a href="#comment-7920" rel="nofollow">@ Matthew Slater</a><br />
Hi Matthew,</p>
<p>I understand your question. I&#8217;m not sure we can achieve your requirement through confirm_form. But you can try Drupal Multi-step forms. You can create first step form for input and second step form for confirmation. Some useful links.</p>
<p>1. <a href="http://drupal.org/node/262422" rel="nofollow">http://drupal.org/node/262422</a> (Code sample #10)<br />
2. <a href="http://jeff.viapositiva.net/drupal/dynamic-forms" rel="nofollow">http://jeff.viapositiva.net/drupal/dynamic-forms</a></p>
<p>You can also Google for more information.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Slater</title>
		<link>http://www.akchauhan.com/create-an-action-confirm-form-using-confirm_form-function-in-drupal/comment-page-1/#comment-7920</link>
		<dc:creator>Matthew Slater</dc:creator>
		<pubDate>Wed, 16 Dec 2009 09:17:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.akchauhan.com/?p=380#comment-7920</guid>
		<description>Thanks for this clear tutorial, there&#039;s not much to be found on this subject. My question is, how do you get to confirm_form from a previous form submission, rather than from a link?
I have a complex form which I want to summarise on the confirmation page, and I don&#039;t want to pass all the form fields using callback arguments.</description>
		<content:encoded><![CDATA[<p>Thanks for this clear tutorial, there&#8217;s not much to be found on this subject. My question is, how do you get to confirm_form from a previous form submission, rather than from a link?<br />
I have a complex form which I want to summarise on the confirmation page, and I don&#8217;t want to pass all the form fields using callback arguments.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: secure</title>
		<link>http://www.akchauhan.com/create-an-action-confirm-form-using-confirm_form-function-in-drupal/comment-page-1/#comment-7032</link>
		<dc:creator>secure</dc:creator>
		<pubDate>Wed, 11 Nov 2009 02:27:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.akchauhan.com/?p=380#comment-7032</guid>
		<description>Thaks nice tutorial and good answer .
it&#039;s work and i&#039;m also understand.</description>
		<content:encoded><![CDATA[<p>Thaks nice tutorial and good answer .<br />
it&#8217;s work and i&#8217;m also understand.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andy</title>
		<link>http://www.akchauhan.com/create-an-action-confirm-form-using-confirm_form-function-in-drupal/comment-page-1/#comment-6955</link>
		<dc:creator>andy</dc:creator>
		<pubDate>Fri, 06 Nov 2009 14:46:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.akchauhan.com/?p=380#comment-6955</guid>
		<description>Thanks man,
It&#039;s working fine...thanks for u&#039;r help...</description>
		<content:encoded><![CDATA[<p>Thanks man,<br />
It&#8217;s working fine&#8230;thanks for u&#8217;r help&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.akchauhan.com/create-an-action-confirm-form-using-confirm_form-function-in-drupal/comment-page-1/#comment-6880</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sat, 31 Oct 2009 04:35:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.akchauhan.com/?p=380#comment-6880</guid>
		<description>&lt;a href=&quot;#comment-6877&quot; rel=&quot;nofollow&quot;&gt;@andy&lt;/a&gt; 
drupal_get_form takes the form_id and process it and return the rendered form for display. Here we are passing &#039;doctor_delete_confirm&#039; form in drupal_get_form. You can investigate more about it here http://api.drupal.org/api/function/drupal_get_form/6.

Yes, we are retrieving the doctor details with delete and confirm button with the help of &#039;%doctor_user&#039;. doctor_user_load is a wild card load function and take the 3rd parameter from URL (in this case doctor_id). Then we pass the &#039;$doctor&#039; object with complete doctor detail into doctor_delete_confirm function. When user confirm his/her action we retrieve the doctor_id from this object and delete the doctor detail from database. Hope this reply is helpful.</description>
		<content:encoded><![CDATA[<p><a href="#comment-6877" rel="nofollow">@andy</a><br />
drupal_get_form takes the form_id and process it and return the rendered form for display. Here we are passing &#8216;doctor_delete_confirm&#8217; form in drupal_get_form. You can investigate more about it here <a href="http://api.drupal.org/api/function/drupal_get_form/6" rel="nofollow">http://api.drupal.org/api/function/drupal_get_form/6</a>.</p>
<p>Yes, we are retrieving the doctor details with delete and confirm button with the help of &#8216;%doctor_user&#8217;. doctor_user_load is a wild card load function and take the 3rd parameter from URL (in this case doctor_id). Then we pass the &#8216;$doctor&#8217; object with complete doctor detail into doctor_delete_confirm function. When user confirm his/her action we retrieve the doctor_id from this object and delete the doctor detail from database. Hope this reply is helpful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andy</title>
		<link>http://www.akchauhan.com/create-an-action-confirm-form-using-confirm_form-function-in-drupal/comment-page-1/#comment-6877</link>
		<dc:creator>andy</dc:creator>
		<pubDate>Fri, 30 Oct 2009 17:54:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.akchauhan.com/?p=380#comment-6877</guid>
		<description>Thanks man,
It was really helpful for me. I have a question, what does
drupal_get_form contains ?  are you  going to retrieve the doctor details along with delete and confirm buttons in this page or any thing else..</description>
		<content:encoded><![CDATA[<p>Thanks man,<br />
It was really helpful for me. I have a question, what does<br />
drupal_get_form contains ?  are you  going to retrieve the doctor details along with delete and confirm buttons in this page or any thing else..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.akchauhan.com/create-an-action-confirm-form-using-confirm_form-function-in-drupal/comment-page-1/#comment-6138</link>
		<dc:creator>John</dc:creator>
		<pubDate>Mon, 28 Sep 2009 17:32:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.akchauhan.com/?p=380#comment-6138</guid>
		<description>How do you have the confirm form appearing below the list of doctors? My confirm form page reloads into a new page.</description>
		<content:encoded><![CDATA[<p>How do you have the confirm form appearing below the list of doctors? My confirm form page reloads into a new page.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

