[Dojo-interest] I can't get any $_POST data from a dijit validation box

Andy Daykin adogg31 at msn.com
Tue Aug 26 14:32:49 UTC 2008

Hello, I can't get any values from $_POST when I try and pass the value of a dijit validation box. My code on my first page that gathers the data is: 

echo "<tr><td>Link: </td><td>&nbsp;</td><td><input class='long' value='".$row[5]."' dojoType='dijit.form.ValidationTextBox' regExpGen='dojox.regexp.url' trim='true' required='false' constraints={scheme:true} invalidMessage='Invalid URL. Be sure to include the scheme, http://...' type='text' name='link' /></td></tr>";

The code on the second page is: 

$link = $_POST['link'];
echo $link; // returns nothing

I tried doing this with just a regular text input, no dojo and it worked perfectly. Has anyone else experienced problems trying to get post data from a dijit validation text box?


-Andy Daykin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://turtle.dojotoolkit.org/pipermail/dojo-interest/attachments/20080826/9c54b95a/attachment.html 

More information about the Dojo-interest mailing list