﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" 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/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebScheduler - Can I Force User to Select a Category on the Editing Form?</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Can-I-Force-User-to-Select-a-Category-on-the-Editing-Form/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Can I Force User to Select a Category on the Editing Form?</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Can-I-Force-User-to-Select-a-Category-on-the-Editing-Form/</link><pubDate>Tue, 07 Dec 2010 21:21:52 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hello Tim,&lt;/p&gt;
&lt;p&gt;My previous code showed default categories in multiple selection. Your code for single selection is already correct. So, I think you will not find any problem in handle the validation.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>Can I Force User to Select a Category on the Editing Form?</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Can-I-Force-User-to-Select-a-Category-on-the-Editing-Form/</link><pubDate>Sat, 04 Dec 2010 13:42:12 GMT</pubDate><dc:creator>tim@wrightsweb.com</dc:creator><description>&lt;p&gt;Since I have Multiselect disabled I modified the code to look at value instead of values and it works fine...Thanks&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;function WebScheduler1_OnEditingFormSave(controlId, action, eventView)&lt;br /&gt;        {&lt;br /&gt;            var s = ISGetObject(controlId);&lt;br /&gt;            var editWindow = s.GetEditingFormWindow();&lt;br /&gt;            var wcCategories = editWindow.ISGetObject("wcCategories");&lt;br /&gt;            if (wcCategories.Value == "")&lt;br /&gt;            {&lt;br /&gt;                alert("Categories can not be Empty");&lt;br /&gt;                return false&lt;br /&gt;            } else&lt;br /&gt;            {&lt;br /&gt;&lt;br /&gt;                return true;&lt;br /&gt;            }&lt;br /&gt;        }&lt;/p&gt;</description></item><item><title>Can I Force User to Select a Category on the Editing Form?</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Can-I-Force-User-to-Select-a-Category-on-the-Editing-Form/</link><pubDate>Wed, 01 Dec 2010 11:53:22 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;You can validate at OnEditingFormSave clientside event. Below is the snippet code. Hope this helps.&lt;/p&gt;&lt;pre&gt; function WebScheduler1_OnEditingFormSave(controlId, action, eventView)
        {
            var s = ISGetObject(controlId);
            var editWindow = s.GetEditingFormWindow();
            var wcCategories = editWindow.ISGetObject("wcCategories");
            if (wcCategories.Values == null)
            {
                alert("Categories can not be Empty");
                return false
            } else
            {

                return true;
            }
        }&lt;/pre&gt;

&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>Can I Force User to Select a Category on the Editing Form?</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Can-I-Force-User-to-Select-a-Category-on-the-Editing-Form/</link><pubDate>Tue, 30 Nov 2010 19:02:57 GMT</pubDate><dc:creator>tim@wrightsweb.com</dc:creator><description>&lt;p&gt;Can I Force User to Select a Category on the Editing Form? Currently the editing form validation requires the user to select Resource and Importance. Is it possible to add to that validation to require user to also select a Category?&lt;/p&gt;</description></item></channel></rss>