I'm familiar with javascript. Actually when i use <script type="text/javascript"> and try to validate the code using the plumvoice validator it says "No declaration for attribute type of element script"
And even give the same error if i use && in else if () condition.
Please help me
We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics
Search found 53 matches
- Wed Apr 08, 2009 11:44 am
- Forum: Plum DEV Q&A
- Topic: Getting error using "else if" in script
- Replies: 4
- Views: 5959
- Wed Apr 08, 2009 4:01 am
- Forum: Plum DEV Q&A
- Topic: Converting String to Numbers
- Replies: 0
- Views: 5475
Converting String to Numbers
I have a requirement where we ask the user to enter the time before which he want the alert. He can say time like "15 minutes" for which i have written the below mentioned grammer. But this takes the input as "fifteen minutes". Now fifteen i want as 15. Is there any way by which i can get 15 in nume...
- Wed Apr 08, 2009 2:42 am
- Forum: Plum DEV Q&A
- Topic: Getting error using "else if" in script
- Replies: 4
- Views: 5959
Getting error using "else if" in script
Hi CAn you help me in correcting the script below. How to apply else if condition which check for both conditions to be true like else if(con1 && cond2) does && is not supported? <filled> <script> hours = parseInt(appTime.substr(0,2)); mins = parseInt(appTime.substr(2,4)); var ampm = "am"; if (hours...
- Tue Apr 07, 2009 10:07 am
- Forum: Plum DEV Q&A
- Topic: Time input in format kk:mm:ss
- Replies: 1
- Views: 3846
Time input in format kk:mm:ss
I have a requirement to take the input from the user in format kk:mm:ss
like 23:30:40
I'm struggling with this. Can you plese help me to define the grammer for it
Regards,
Amit
like 23:30:40
I'm struggling with this. Can you plese help me to define the grammer for it
Regards,
Amit
- Tue Apr 07, 2009 9:51 am
- Forum: Plum DEV Q&A
- Topic: Taking time as user input
- Replies: 2
- Views: 4659
Re: Taking time as user input
Please someone help me on this. regards, amit How can i take the time as input from the user both as dtmf & voice mode. Can you please tell me the write syntax for the below code and can you provide a code sample and the appropriate input value that it can take <field name="appTime"> <prompt> Please...
- Tue Apr 07, 2009 9:50 am
- Forum: Plum DEV Q&A
- Topic: How to prompt the time in correct format
- Replies: 2
- Views: 3865
Re: How to prompt the time in correct format
Please help me on this.
amitkhosla wrote:i have a requirement to prompt the time to the user. Like the time is 12 hours 15 mins.
what is the code to do that?
Regards & Thanks,
Amit
- Tue Apr 07, 2009 7:27 am
- Forum: Plum DEV Q&A
- Topic: How to prompt the time in correct format
- Replies: 2
- Views: 3865
How to prompt the time in correct format
i have a requirement to prompt the time to the user. Like the time is 12 hours 15 mins.
what is the code to do that?
Regards & Thanks,
Amit
what is the code to do that?
Regards & Thanks,
Amit
- Tue Apr 07, 2009 7:25 am
- Forum: Plum DEV Q&A
- Topic: Taking time as user input
- Replies: 2
- Views: 4659
Taking time as user input
How can i take the time as input from the user both as dtmf & voice mode. Can you please tell me the write syntax for the below code and can you provide a code sample and the appropriate input value that it can take <field name="appTime"> <prompt> Please enter or say the time of your appointment. En...
- Mon Mar 30, 2009 4:46 am
- Forum: Plum DEV Q&A
- Topic: how to use say-as tag to prompt like December 25 2009
- Replies: 1
- Views: 3188
how to use say-as tag to prompt like December 25 2009
Hi I have to prompt the user the date entered by him in yyyymmdd format as date using say-as tag. if suppose use entered 20091225. i need to prompt the user saying december 25 2009. I'm writing this, but it says 2 million 91 thousand two hundred twenty five. <form id="reschedule_call_date_select_frm...
- Fri Mar 27, 2009 1:20 pm
- Forum: Plum DEV Q&A
- Topic: Can Range be defined in Grammer
- Replies: 2
- Views: 4094
- Fri Mar 27, 2009 5:34 am
- Forum: Plum DEV Q&A
- Topic: Can Range be defined in Grammer
- Replies: 2
- Views: 4094
Can Range be defined in Grammer
Hi I have a requirement something like this. User should be prompted with a message to input how many days before he wants to get an alert? Means like if he "SAYS" 23 days that means that 23 days before a schedule meeting time will update the user that he has an appointment 23 days from today. Now I...
- Fri Mar 27, 2009 4:13 am
- Forum: Plum DEV Q&A
- Topic: Can i assign a variable a combined values from two vars
- Replies: 1
- Views: 3669
Can i assign a variable a combined values from two vars
HI, I have a requirement where i want to assign a variable a combined value of two other variable. something like this <var name="countryCode" expr="'+91'"/> <var name="telNumber" expr="'9899478866'"/> Now the provider number variable should have been assigned a value which is combination of values ...
- Thu Mar 26, 2009 2:30 pm
- Forum: Plum DEV Q&A
- Topic: Mixed Intutive Grammer - Getting Syntax error while calling
- Replies: 4
- Views: 6710
actual error -
hi I'm actually facing getting the error 'coz of this grammer, Can you tell me what is the right way to set different fields in one go when user press any key suppose 1. <grammar type="application/x-jsgf" mode="dtmf"> ( 1 {choice=1; appointmentId=121; subject=Surgery; location=New Delhi; organizatio...
- Thu Mar 26, 2009 2:18 pm
- Forum: Plum DEV Q&A
- Topic: Multiple Forms in Single vxml - Field passing
- Replies: 1
- Views: 3499
Multiple Forms in Single vxml - Field passing
hi, Can you please help me with passing multiple field values to a next form element defined in the same vxml where i'm using goto to take the control to the next form? something like this --------------------- <vxml> <form name='"form1"> <field name="name"/> <field name="age"/> fields have been ass...
- Thu Mar 26, 2009 1:04 pm
- Forum: Plum DEV Q&A
- Topic: Mixed Intutive Grammer - Getting Syntax error while calling
- Replies: 4
- Views: 6710
hi I'm actually facing getting the error 'coz of this grammer, Can you tell me what is the right way to set different fields in one go when user press any key suppose 1. <grammar type="application/x-jsgf" mode="dtmf"> ( 1 {choice=1; appointmentId=121; subject=Surgery; location=New Delhi; organizatio...