tabs ( or CRs) in form fields?

Ranjini Ramachandran <rramacha@cisco.com>
Errors-To: listmaster@www0.cern.ch
Date: Thu, 24 Mar 1994 01:20:44 --100
Message-id: <9403240018.AA02618@ce-nfs-1.cisco.com>
Errors-To: listmaster@www0.cern.ch
Reply-To: rramacha@cisco.com
Originator: www-talk@info.cern.ch
Sender: www-talk@www0.cern.ch
Precedence: bulk
From: Ranjini Ramachandran <rramacha@cisco.com>
To: Multiple recipients of list <www-talk@www0.cern.ch>
Subject: tabs ( or CRs) in form fields? 
X-Listprocessor-Version: 6.0c -- ListProcessor by Anastasios Kotsikonas
Content-Length: 943

Hello,

Has anyone implemented tabbing to fields in forms in X-Mosaic?

I was trying to add functionality to forms so that when a user hits a 
return ( since I didn't know how to deal with tabs) in any of the form 
textwidgets, the insertion bar advances to the next widget, unless, 
ofcourse, it's the last widget, then the form is submitted.
 
What I did was:
 
Edit HTMLwidgets.c:
and added the following to the CBActivateField function
  
if (cnt == count)
        {
                CBSubmitForm(w, client_data, call_data);
        }
 
#ifdef Motif
        (void) XmProcessTraversal(w, XmTRAVERSE_NEXT);
#endif Motif
 
*************************************************************
But for some reason, this won't work....

Any suggestions?

Also, does anyone have any documentation that will discuss X-Mosaic 
architecture ( or shed some light on it) becuase I'm having a hard 
time trying to figure it out.

Thanks for any help

Ranjini