<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[וורדפרס: פלאגין לאימות ת.ז. ישראלית ??]]></title><description><![CDATA[<p dir="auto">אני לא מבין בוורדפרס, אבל אני מחפש אחר תוסף לאימות (ולידציה) ת.ז. ישראלית.</p>
<p dir="auto">עבור אתר של חבר.</p>
<p dir="auto">מישהו מכיר? התנסה? פיתח בעצמו?<br />
או כמה זה פשוט/מסובך לפתח דבר כזה??<br />
תודה רבה</p>
]]></description><link>https://tchumim.com/topic/6091/וורדפרס-פלאגין-לאימות-ת-ז-ישראלית</link><generator>RSS for Node</generator><lastBuildDate>Tue, 09 Jun 2026 08:59:10 GMT</lastBuildDate><atom:link href="https://tchumim.com/topic/6091.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 30 Jul 2019 13:08:14 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to וורדפרס: פלאגין לאימות ת.ז. ישראלית ?? on Tue, 30 Jul 2019 19:19:10 GMT]]></title><description><![CDATA[<p dir="auto">קוד ל PHP</p>
<pre><code>function ValidateID($str)
{
   //Convert to string, in case numeric input
   $IDnum = strval($str);

   //validate correct input
   if(! ctype_digit($IDnum)) // is it all digits
      return "שגיאת קלט";
   if((strlen($IDnum)&gt;9) || (strlen($IDnum)&lt;5))
      return "שגיאת קלט";

   //If the input length less then 9 and bigger then 5 add leading 0
   while(strlen($IDnum)&lt;9)
   {
      $IDnum = '0'.$IDnum ;
   }

   $mone = 0;
   //Validate the ID number
   for($i=0; $i&lt;9; $i++)
   {
      $char = mb_substr($IDnum, $i, 1);
      $incNum = intval($char);
      $incNum*=($i%2)+1;
      if($incNum &gt; 9)
         $incNum-=9;
      $mone+= $incNum;
   }

   if($mone%10==0)
      return "נכון";
   else
      return "לא נכון";
}
</code></pre>
]]></description><link>https://tchumim.com/post/69578</link><guid isPermaLink="true">https://tchumim.com/post/69578</guid><dc:creator><![CDATA[חוקר]]></dc:creator><pubDate>Tue, 30 Jul 2019 19:19:10 GMT</pubDate></item><item><title><![CDATA[Reply to וורדפרס: פלאגין לאימות ת.ז. ישראלית ?? on Tue, 30 Jul 2019 15:26:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/avr416">@<bdi>avr416</bdi></a><br />
שים את זה בתוך תגית סקריפט בהטמל עם JQuery (לא יודע אם אפשר להוסיף שם תגית סקריפט)<br />
זה לצד לקוח.</p>
<p dir="auto">לצד שרת הוא אכן יצטרך בPHP מן הסתם חיפוש גוגל מהיר יביא את התוצאה</p>
]]></description><link>https://tchumim.com/post/69550</link><guid isPermaLink="true">https://tchumim.com/post/69550</guid><dc:creator><![CDATA[clickone]]></dc:creator><pubDate>Tue, 30 Jul 2019 15:26:56 GMT</pubDate></item><item><title><![CDATA[Reply to וורדפרס: פלאגין לאימות ת.ז. ישראלית ?? on Tue, 30 Jul 2019 14:21:25 GMT]]></title><description><![CDATA[<p dir="auto">בדקתי עכשיו, אני רואה שהוא משתמש באלמנטור פרו, ויש להם API חביב שאפשר להוסיף לו ולידציות..<br />
<a href="https://developers.elementor.com/forms-api/" target="_blank" rel="noopener noreferrer nofollow ugc">https://developers.elementor.com/forms-api/</a><br />
העניין הוא שאני לא מספיק מבין PHP וגם לא בדיוק מבין איפה אני כותב את זה..<br />
ואין לי זמן יותר מדי להתבחבש בזה, כי אני עושה לו בחינם..<br />
(אם אצליח..)<br />
אמרתי לו שכרגע זה לא בשבילי.. אבל אם מישהו מכיר את זה ועשה בעבר וזה לא מסובך, אשמח לשמוע מהניסיון.<br />
תודה!</p>
]]></description><link>https://tchumim.com/post/69549</link><guid isPermaLink="true">https://tchumim.com/post/69549</guid><dc:creator><![CDATA[avr416]]></dc:creator><pubDate>Tue, 30 Jul 2019 14:21:25 GMT</pubDate></item><item><title><![CDATA[Reply to וורדפרס: פלאגין לאימות ת.ז. ישראלית ?? on Tue, 30 Jul 2019 13:34:25 GMT]]></title><description><![CDATA[<p dir="auto">כדאי גם בשרת.<br />
אבל גם בקליינט זה מעולה לבינתיים.<br />
רק איך אני מטמיע קוד בוורדפרס? (גילוי נאות: אפי' לא נכנסתי להסתכל באתר שלו איך זה עובד..), זה ממש פשוט דרך הממשק, או שאני צריך ליצור לו קובץ HTML עם JS ??</p>
]]></description><link>https://tchumim.com/post/69545</link><guid isPermaLink="true">https://tchumim.com/post/69545</guid><dc:creator><![CDATA[avr416]]></dc:creator><pubDate>Tue, 30 Jul 2019 13:34:25 GMT</pubDate></item><item><title><![CDATA[Reply to וורדפרס: פלאגין לאימות ת.ז. ישראלית ?? on Tue, 30 Jul 2019 13:26:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/clickone">@<bdi>clickone</bdi></a> אולי הוא רוצה ולידציה בצד שרת</p>
]]></description><link>https://tchumim.com/post/69544</link><guid isPermaLink="true">https://tchumim.com/post/69544</guid><dc:creator><![CDATA[dovid]]></dc:creator><pubDate>Tue, 30 Jul 2019 13:26:34 GMT</pubDate></item><item><title><![CDATA[Reply to וורדפרס: פלאגין לאימות ת.ז. ישראלית ?? on Tue, 30 Jul 2019 13:21:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/avr416">@<bdi>avr416</bdi></a><br />
זה JS פשוט<br />
<a href="http://webmaster.org.il/forums/message?id=27760" target="_blank" rel="noopener noreferrer nofollow ugc">http://webmaster.org.il/forums/message?id=27760</a></p>
<pre><code>&lt;script type="text/javascript"&gt;
function LegalTz(num) {
        var tot = 0;
        var tz = new String(num);
        for (i=0; i&lt;8; i++)
            {
                x = (((i%2)+1)*tz.charAt(i));
                if (x &gt; 9) 
                    {
                    x =x.toString();
                    x=parseInt(x.charAt(0))+parseInt(x.charAt(1))
                    }
            tot += x;
            }
        
    if ((tot+parseInt(tz.charAt(8)))%10 == 0) {
        alert("תקין");
        return true;
    } else {
         
        alert("לא תקין")
        return false;
    }
}
&lt;/script&gt;

</code></pre>
]]></description><link>https://tchumim.com/post/69542</link><guid isPermaLink="true">https://tchumim.com/post/69542</guid><dc:creator><![CDATA[clickone]]></dc:creator><pubDate>Tue, 30 Jul 2019 13:21:18 GMT</pubDate></item></channel></rss>