Grammars doesn't work
Posted: Tue Nov 04, 2008 9:37 am
Hi,
I've a problem with a grammars.
I woule like a grammars wich have :
- only numerics chars (0.9) x 255 and terminate by #,
- or only #,
- or only *#.
I create this rule but it doesn't work:
The field is like this:
I've a problem with a grammars.
I woule like a grammars wich have :
- only numerics chars (0.9) x 255 and terminate by #,
- or only #,
- or only *#.
I create this rule but it doesn't work:
Code: Select all
<rule id="confirm_msg" scope="public">
<one-of>
<item>
<item repeat="0-255">
<ruleref uri="#digit"/>
</item>
#
</item>
<item> * # </item>
<item> # </item>
</one-of>
</rule>
Code: Select all
<field name="confirm_message" type="digits?maxlength=255">
<grammar src="grammars/service.grxml#confirm_msg" type="application/srgs+xml"/>
</field>
Can you help me?
Thanks by advance.