We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics

Attribute replacement with a variable

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
ucsur
Posts: 12
Joined: Wed Feb 14, 2007 11:00 am
Location: University of Pittsburgh
Contact:

Attribute replacement with a variable

Post by ucsur »

I would like to replace the number in the "count" attribute of the "nomatch" tag with a variable. How do I do this?

<nomatch count="6">

I have tried various combinations of...

<var name="vBailCnt" expr="6"/>
<nomatch count="<value expr="vBailCnt"/>">
Pitt Survey Research
UCSUR

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

dynamism in IVR code by populating value using pre-processin

Post by support »

Hi,

It's not possible to assign an Ecmascript value to the 'count' attribute (or any attribute, for that matter).

You can achieve some level of dynamism in your IVR code by populating this value using your pre-processing language (PHP, ASP, etc.). If the desired value is not available to the pre-processing language, unfortunately, you're out of luck.


Regards,
Plum Support

Post Reply