<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>Appnitro Software Forums Topic: Character value with limit &#038; feedbgack without database</title>
<link>http://www.appnitro.com/forums/</link>
<description>Appnitro Software Forums Topic: Character value with limit &#038; feedbgack without database</description>
<language>en</language>
<pubDate>Wed, 07 Jan 2009 03:15:46 +0000</pubDate>

<item>
<title>redityo on "Character value with limit &#038; feedbgack without database"</title>
<link>http://www.appnitro.com/forums/topic/character-value-with-limit-038-feedbgack-without-database#post-2691</link>
<pubDate>Mon, 18 Aug 2008 09:35:12 +0000</pubDate>
<dc:creator>redityo</dc:creator>
<guid isPermaLink="false">2691@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;Hi ..&#60;/p&#62;
&#60;p&#62;You can try to modify your post-functions.php in line 1002 ~ 1008 for ignore database saving process, I assume your feedback form id = 1 :&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if(empty($form_review)){
   if ($form_id &#38;lt;&#38;gt; &#38;#39;1&#38;#39;) //&#38;lt;-- set with your form id
      $query = &#38;quot;INSERT INTO ap_form_{$form_id}($field_list) VALUES
     ($field_values);&#38;quot;;
}else{
//insert to temporary table, if form review is enabled
   if ($form_id &#38;lt;&#38;gt; &#38;#39;1&#38;#39;) //&#38;lt;-- set with your form id
   $query = &#38;quot;INSERT INTO  ap_form_{$form_id}_review($field_list)
     VALUES($field_values);&#38;quot;;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;and for your second question, you can limit text field with editing view-functions.php. In here I assume you use the text field id = 1 on form 1 &#60;/p&#62;
&#60;p&#62;1. add this code in line 39&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$limit_text = &#38;#39;&#38;#39;;

//don&#38;#39;t forget to adjust with your form and element id
if ($_GET[&#38;#39;id&#38;#39;] == &#38;#39;1&#38;#39; and $element-&#38;gt;id == &#38;#39;1&#38;#39;) {
	$limit_text = &#38;#39;maxlength=&#38;quot;7&#38;quot;&#38;#39;;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;2. edit line 50 &#60;/p&#62;
&#60;p&#62;from &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;input id=&#38;quot;element_{$element-&#38;gt;id}&#38;quot; name=&#38;quot;element_{$element-&#38;gt;id}&#38;quot;
class=&#38;quot;element text {$element-&#38;gt;size}&#38;quot; type=&#38;quot;text&#38;quot;
value=&#38;quot;{$element-&#38;gt;default_value}&#38;quot; /&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;to&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;input id=&#38;quot;element_{$element-&#38;gt;id}&#38;quot; name=&#38;quot;element_{$element-&#38;gt;id}&#38;quot;
class=&#38;quot;element text {$element-&#38;gt;size}&#38;quot;
type=&#38;quot;text&#38;quot; value=&#38;quot;{$element-&#38;gt;default_value}&#38;quot; {$limit_text} /&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>maxyeo on "Character value with limit &#038; feedbgack without database"</title>
<link>http://www.appnitro.com/forums/topic/character-value-with-limit-038-feedbgack-without-database#post-2690</link>
<pubDate>Sun, 17 Aug 2008 18:38:03 +0000</pubDate>
<dc:creator>maxyeo</dc:creator>
<guid isPermaLink="false">2690@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;Dear sir, I'm one of the purchaser of your software and i have few problem when after i using your software because i need to create one feedback form without using &#34;Database&#34; just like direct sent to email. Because i have no hosting server that why i using localhost to create my company feedback form but the other problem is when i create  the text field for member to enter they membership code in only 7 digit but for your software i can't find it any function to modified it.Let say if i copy all the recuired source file to my folder, is it still send the data to my database? I mean i want the feedback form without database. Can you give me some help? If not i will face the big problem with my employee.Please.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
