« Back to IP Phone Services Questions

Two different Submit buttons on CiscoIPPhoneInput

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Hi everybody,
  I have a problem with CiscoIPPhoneInput XML tag. I need to post input values to the 2 url based on button you press. When you press button Save, then app post http://myserver/save.aspx?save=1 and when you press Save as, then it post to http://myserver/save.aspx?save=2.
Can anybody help me, please?
This is my code:
 1
 2<CiscoIPPhoneInput>
 3    <Title>Save</Title>
 4    <Prompt>Fill the form</Prompt>
 5    <URL><%= serverProtocol + serverIP + scriptPath %></URL>
 6    <InputItem>
 7        <DisplayName>1</DisplayName>
 8        <QueryStringParam>line1</QueryStringParam>
 9        <DefaultValue><%= line1 %></DefaultValue>
10        <InputFlags>A</InputFlags>
11    </InputItem>
12    <InputItem>
13        <DisplayName>2</DisplayName>
14        <QueryStringParam>line2</QueryStringParam>
15        <DefaultValue><%= line2 %></DefaultValue>
16        <InputFlags>A</InputFlags>
17    </InputItem>
18    <SoftKeyItem>
19        <Name>Save</Name>
20        <URL>QueryStringParam:save=1</URL>
21        <Position>1</Position>
22    </SoftKeyItem>
23    <SoftKeyItem>
24        <Name>Save as</Name>
25        <URL>QueryStringParam:save=2</URL>
26        <Position>2</Position>
27    </SoftKeyItem>
28    <SoftKeyItem>
29        <Name>&lt;&lt;</Name>
30        <URL>SoftKey:&lt;&lt;</URL>
31        <Position>3</Position>
32    </SoftKeyItem>
33    <SoftKeyItem>
34        <Name>Exit</Name>
35        <URL>Init:Services</URL>
36        <Position>4</Position>
37    </SoftKeyItem>
38</CiscoIPPhoneInput>

I think this case cannot be implemented with CiscoIPPhoneInput.