Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8711809
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T04:58:33+00:00 2026-06-13T04:58:33+00:00

Just need a small help with my HTML form, I have the following code:

  • 0

Just need a small help with my HTML form, I have the following code:

<form method="get" action="http://solutions-demo.cust-mta.com/automated/action.jsp">

                  <input type="hidden" name="action" value="updateRecipientNoMsg" />
                  <input type="hidden" name="redirect_err" value="/automated/action.jsp" />
                  <input type="hidden" name="redirect_ok" value="http://thankyou.html" />
                  <input type="hidden" id="gid" name="gid" value="200030053" />
                  <input type="hidden" id="pmobilenum" name="pmobilenum" value="123456789" />
                  <input type="hidden" id="uemail" name="uemail" value="[executor]" />
                  <input type="hidden" id="psw" name="psw" value="password" />
                  <input type="hidden" id="pemail" name="pemail" value="[emailBeingUpdated]" />

                  <table border="0">
                    <tr>
                      <td width="100"><div align="left"><font color="#ffffff" face="Arial, sans serif" style="font-size:12px;line-height:14px;">Email</font></div></td>
                      <td width="140"><div align="left"><font face="Arial, sans serif" color="#ffffff" style="font-size:12px;line-height:14px;">
                          <input type="text" name="pemail" />
                      </font></div></td>

                    </tr>
                  </table>

                  <table border="0">
                    <tr>
                      <td width="100"><div align="left"><font color="#ffffff" face="Arial, sans serif" style="font-size:12px;line-height:14px;">Mobile Number</font></div></td>
                      <td width="140"><div align="left"><font face="Arial, sans serif" color="#666666" style="font-size:12px;line-height:14px;">


                          <input type="text" name="pmobilenum" />
                      </font></div></td>

                    </tr>
                  </table>

                  <table>
                    <tr>
                        <td align="center">
                        <input type="submit" name="Submit" />

                        </td>
                    </tr>
                  </table>


</form>

It is all working correctly, I am contacting a REST API and pushing an action, that being updating a users mobile number using email identifier.

At the moment I just have it all set so when you click it happens and the number is updated in a system.

But I want the user to be able to input their email and their number and it be for them, as currently for testing I have set it to a specific email so whatever details you put in it always updates the hard coded one.

How would I use Javascript to place the values from Mobile Number and Email into here:

<input type="hidden" id="pmobilenum" name="pmobilenum" value="INSERT TEXT FROM MOBILE NUMBER TEXT BOX" />
<input type="hidden" id="pemail" name="pmobilenum" value="INSERT TEXT FROM EMAIL TEXT BOX" />

Should Use getElementByID method and turn this into a JSP page?

Thanks for the advice in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T04:58:35+00:00Added an answer on June 13, 2026 at 4:58 am

    The server doesn’t care if it’s a hidden or a text input, so why not cut out the middleman and get rid of the hidden fields? You already have equivalent text fields for the same names so it should work just the same.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i need help with a small programm, i just want to start a CMD
I need some help with my xpath query. I can get this code to
In my project I need to write small WYSIWYG editor (just let users make
Just need some quick clarification I have 2 Queries in my Access Database that
Just need get some vals located in application.ini(main ini) in the Controller plugin I
I just need a help in configuring hiberclipse for my eclipse indigo version. Install
I am currently loading HTMl content via AJAX. I have code for things on
I'm trying to make a small program more robust and I need some help
i'm just a begginer in perl, and very urgently need to prepare a small
I need some help determining the frequencies of these small peaks. I know it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.