Home > > Coreg

Recording of Coreg Webinar (7)


09-19-2011 12:45 PM #1 tijn (Moderator)
Recording of Coreg Webinar

Few! Finally done.

Here is the recording. Unfortunately due to recoding & encoding this several times the quality is not perfect. So use the slides when you watch this.



Here are the slides:

http://stmforum.com/forum/showthread...Co-reg-Webinar

Thanks again to optimex


09-19-2011 02:16 PM #2 m0thm4n (Member)

Thanks for putting together that webinar, I found it really interesting!

As a way of saying thank you, here is some javascript code that does live validation and also moves the cursor to the next target. It's not very elegant, but it's late here and I wrote it off the top of my head!

Code:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    
    <style type="text/css">
        .goodVal { color:Green; }
        .badVal { color:Red; }
    </style>
    
    <script type="text/javascript" language="javascript">

        function checkText(field, minVal) {

            if (field.value.length >= minVal) {
                document.getElementById(field.id + "Val").innerHTML = "Ok";
                document.getElementById(field.id + "Val").setAttribute("class", "goodVal");
            }
            else {
                document.getElementById(field.id + "Val").innerHTML = "Required";
                document.getElementById(field.id + "Val").setAttribute("class", "badVal");
            }
        }

        function checkEmail(field) {
            if (field.value.lastIndexOf('@') > -1 && field.value.lastIndexOf('.') > -1) {
                document.getElementById(field.id + "Val").innerHTML = "Ok";
                document.getElementById(field.id + "Val").setAttribute("class", "goodVal");        
            }
            else {
                document.getElementById(field.id + "Val").innerHTML = "Invalid Email";
                document.getElementById(field.id + "Val").setAttribute("class", "badVal");
            }
        }

        function checkCell(field, reqVal, target) {
            if (field.value.length == reqVal) {
                document.getElementById(field.id + "Val").innerHTML = "Ok";
                document.getElementById(field.id + "Val").setAttribute("class", "goodVal");
                document.getElementById(target).focus();
            }
            else {
                document.getElementById(field.id + "Val").innerHTML = "Required";
                document.getElementById(field.id + "Val").setAttribute("class", "badVal");
            }
        }
    
    </script>
</head>
<body>

    <table cellpadding="5" cellspacing="0" border="0" width="400">
        <tr>
            <td>Name:</td>
            <td colspan="2"><input id="name" type="text" onblur="checkText(this, 1)" /> <span id="nameVal"></span></td>
        </tr>
        <tr>
            <td>Email:</td>
            <td colspan="2"><input id="email" type="text" onblur="checkEmail(this)" /> <span id="emailVal"></span></td>
        </tr>
        <tr>
            <td>Cell Number:</td>
            <td><input id="cell1" type="text" maxlength="3" size="3" onkeyup="checkCell(this, 3, 'cell2')" /></td>
            <td><input id="cell2" type="text" maxlength="3" size="3" onkeyup="checkCell(this, 3, 'cell3')" /></td>
            <td><input id="cell3" type="text" maxlength="4" size="4" onkeyup="checkCell(this, 4, 'cmdSubmit')" /></td>
        </tr>
        <tr>
            <td>&nbsp;</td>
            <td><span id="cell1Val"></span></td>
            <td><span id="cell2Val"></span></td>
            <td><span id="cell3Val"></span></td>
        </tr>
        <tr>
            <td>&nbsp;</td>
            <td colspan="2"><input id="cmdSubmit" type="submit" value="submit" /></td>
        </tr>
    </table>
</body>

</html>


03-25-2012 03:13 PM #3 chilliflakes (Member)

the links given in slides like
www.OptimexMarketing.com/post.txt

are not working. Any idea where we can get one.

also there is mix of threads and its really confusing how to approach coreg for newbies.

i wanted ti with cpvlab and read shanktank thread many times. I am not able to make heads and heels of it.

if someone can please guide that would help. i got photoshop, dreamweaver, cpvlab and want to use same.


03-25-2012 04:00 PM #4 ppvnewbie (Member)

Here is the slide :-)

http://www.mediafire.com/?s69h99anz9o5pu6


03-25-2012 08:02 PM #5 chilliflakes (Member)

i have the slides. its just the links in the slides are not working. so i was asking about them


03-26-2012 07:18 AM #6 ppvnewbie (Member)

Ah sorry, misread your post then


10-06-2012 05:52 AM #7 cyberwiz (Member)

vid taken down?


Home > > Coreg