I had hoped someone more knowledgeable would answer this, but in short, you don't have many options. SVG 1.2 will support text input, but most viewers don't implement it yet, and certainly not fully.
One workaround is to use a Javascript input dialog prompt. It's not too hard to have the prompt open when someone clicks something and then pass that data back to the SVG document. Depending on what you're doing, that may not be elegant enough. --- In [email protected], "russellgum" <[EMAIL PROTECTED]> wrote: > > I have an svg document that includes several rectangles that change color when clicked on > and a rectangle that sends the color of the rectangles to my server as a POST message > using Ajax. What I would like to add is a text input field that the user could fill in with > data ( a date) related to the rectangles that changed colors that could be processed by > javascript and included with the POST message. In short, what I need is a way to include > forms in an svg object. > > The only browser I need this to work with is Safari 3. > > I tried using an embedded svg file but Safari would not process the POST message when I > did this. I thought that maybe I could put the form in the html file and still have the Post > work from the embedded svg. > > I also thought it might be possible to change the data (a date) with javascript (by using a > mouseover on an object to change the date) and display the results as a text object in svg. > However, I couldn't figure out a simple way to get the value of a javascript variable > displayed in a text object in javascript. Is there a simple way to do this? > > Thanks > > Russ > ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

