/    Sign up×
Community /Pin to ProfileBookmark

Multi actions under single form

Im adding SMS push to my page. Im want to use a single radio button in a form to post multiple urls to a j2me mobile. I want the first url to create a SL, and the remaining to go into cache for later. I am stuck.

Thanks.

Here is what I have so far:

<form method=POST action=”http://pushProxy” >
<input type=hidden name=todo value=”send”/>
<input type=hidden name=transport value=”SMS”/>
<input type=hidden name=msg_priority value=”HIGH”/>

<input type=hidden name=load_type value=”SL”/>
<input type=hidden name=msg_content_type value=”url”/>

<input type=radio name=msg_content value=”http://tomcat/r1.htm” />Restaurants<br>
<input type=radio name=msg_content value=”http://tomcat/c1.html” />Clubs<br/>
<input type=radio name=msg_content value=”http://tomcat/r10.htm” />Music<br/>
<input type=radio name=msg_content value=”http://tomcat/c10.html” checked />Movies<br/>

<br><SPAN class=update>&nbsp;&nbsp;Enter Your Phone Number </SPAN>

<select name=”msg_user” size=”1″>
<option>mobile1</option>
<option>mobile2</option>
<option>mobile3</option>
<option>mobile4</option>

<option>mobile5</option>
<option>mobile6</option>
<option>mobile7</option>
<option>mobile8</option>
<option>mobile9</option>
<option>mobile10</option>

<option>mobile11</option>
<option>mobile12</option>
<option>mobile13</option>
<option>mobile14</option>
<option>mobile15</option>
</select>

<br>
&nbsp;<input type=”submit” value=”Click to Start”/><BR/>
</form>

I have 10 urls I need to push to a handset for each radio button selected.

to post a comment
HTML

3 Comments(s)

Copy linkTweet thisAlerts:
@ray326Sep 09.2006 — You do that in your form handler, not in the form.
Copy linkTweet thisAlerts:
@ciphyreauthorSep 10.2006 — Thanks, I will look at the form handler, is there anything I need to do in the form to accomidate this function? So would I just include the 9 other urls in the form and process at the handler?
Copy linkTweet thisAlerts:
@ray326Sep 11.2006 — All you have to do is make sure the input names are distinct.
×

Success!

Help @ciphyre spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.20,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...