Create a hyperlink using text from input - html

so I basically want to utilize Whatsapp Web ability message people who are not in my contact. I whatsapp a lot of people and It's just not practical to save each and everyone of them to my contact list.
To do that, I simply need to insert this url into my browser:
https://api.whatsapp.com/send?phone=
and insert the number after the equal mark.
I made a simple input tag, but I don't know how to make my submit button open the Whatsapp's api link and also add the number I put in the input box.
Thanks

Related

Can I use a user-entered text value in one section of a Google Form to populate checkbox options in the next section?

I'm trying to figure out if this is possible and if so any help on how to make it happen would be amazing. If not, I'd love to get an idea why it's not possible. I'm a novice and looking to learn! :)
I want to take a text response to one question in the first section of a Google Form and use that to populate checkbox options from a Google Sheet in the next section.
Basically, people check equipment out from my office for use with students and they can submit the form for extensions. I sometimes get confusing responses and would like to give them checkbox options based off the students' ID they enter in the first question.
Is any response information even available to use before the form is submitted?

How do I get the user's input from a .html file to a .c file?

I'm trying to get the input from my html webpage, which has a text box and submit button. How can I get the user's input in a separate .c file, so that I can change what happens in my html file depending on the input?
Here is the problem for my assignment:
If the player input the word NORTH, SOUTH, EAST, or WEST, the program will programmatically generate a webpage that hyperlinks to another room. Do printf() to the browser.
You will need to do something like this:
printf(“< a href=\”http://URL\”>Press HERE to go North< /a>”);
The above printf() will display on the browser a hyperlink. The player will simply click on the word Press HERE to go North with their mouse to cause the browser to change to another webpage. The HTML tag to link to another webpage is:
< a href=”URL”>TEXT TO CLICK< /a>.
You will need to do this for each direction: NORTH, SOUTH, EAST and WEST. If the player input the word GOLD, the program will programmatically generate a webpage that displays the amount of gold pieces the player currently owns and a hyperlink to return the player back to the current room.
Might need a little bit more clarification on what exactly it is you're trying to achieve, but if you do actually want the HTML file to change based on the user's input, depending on whether you want that change to be permanent or based on the individual user, you have a couple of options:
1) If you want the user's input to permanently change the HTML file, have it posted to another server-side page on your website (PHP for example) -- then take the user's input and you can use PHP to write actual changes to the HTML file stored on the server which is delivered to your end users. I would advise being very careful with this and make sure you sanitise the input properly to avoid security issues.
2) Alternatively if you want the user's input to change the page they're viewing in some way in real-time and only for that user, you probably want to make use of JavaScript and set the innerHTML of elements based on the user's input.
If you clarify a little more in the comments for this answer what exactly you're trying to achieve, I can give more specific help.

Display Contents After Correct User Input

I'm a beginner in web dev but I'm really good on the software end. I have some HTML to display text and a YoutTube Video on a webpage. But before this, the user must be prompted to input a value in a text box.
What I wanted is for the user to see a box with a submit button. The box will only accept one of 7000 unique entries. Once the user inputs one of the 7000 entires, only then the HTML/YouTube Video must be displayed. Otherwise the page can display a message saying: Retry, entry not recognized.
The webpage is running Wordpress with Motopress. Is there anyway I can do this with Custom fields to store the values or whichever way is easy and quick?

hyperlink field in table doesnt work

I have an Access table that has a hyperlink field, with the records being a website link, to look up the UPS Worldship shipment tracking#. My problem is that even though the text has blue colored font, the link doesn’t launch and open the web browser when I click on the field.
originally the hyperlink did work, when I created the table and changed the field properties from “text” to “hyperlink”, but once I ran a delete query and an append query (in order to refresh the data), the link no longer functioned, even though the field has hyperlink properties.
Here is an example of my hyperlink record that I want the browser to launch: http://wwwapps.ups.com/WebTracking/processInputRequest?sort_by=status&tracknums_displayed=1&TypeOfInquiryNumber=T&loc=en_us&InquiryNumber1=1Z1467826772975386&track.x=0&track.y=0
Please advise what I need to do in order to make the hyperlink work, so the user doesn’t have to manually copy and paste the link into a web browser.
Thank you very much in advance
Nathaniel, Access 2003
I don't understand what you mean. I need to create an Access app that would be used throughout the day in order to track UPS packages. Ideally the table would provide a link, so that the user doesnt have to manually copy and paste the tracking number into the UPS website. Please advise if this is feasible without VBA.
I do not like hyperlink fields, they are difficult to edit and somewhat confusing for the user. I prefer to use a click event with FollowHyperlink. However, if you must use hyperlink fields, they have to have this format to work:
Descriptive text#link#
So
Stackoverflow#http://stackoverflow.com#
http://stackoverflow.com#http://stackoverflow.com#
Email#mailto:mail#example.com#
I imagine you have lost the link - that is, the bit between the hash signs.
Try going back to the table with the record and change the data type to short text. Close and reopen the table and switch the data type back to hyperlink. If the text is a valid webpage link it should work without any extra coding.
Good luck!

AS3 anti bot form script?

I wrote a AS3 script, basically the script just a form that allow user to enter their email address. After launch the site for couple of months, I found I receive a lots of BOT spammers. I know, 1 way of prevent BOT is using recaptcha thing, beside recaptcha, is there any way to prevent bot to submit my AS3 form??
How about adding an extra input to your form and then hiding it with a CSS style.
Then if the field is filled in, you can be pretty sure it was a bot.
Bots don't generally process CSS rules so they will see the text input and fill it in
Most people have CSS enabled when they browse so they won;t see the text input and it will be blank
For legitimate users that have CSS disabled, you can add a label (also hidden via css) to the text input that tells them what to enter.
e.g. add something like this into your form
<div style="display:none">
<label for="hidden-textbox">What is 10 plus 5?</label>
<input type="text" id="hidden-textbox" name="hdn-txt" maxlength="20"/>
</div>
When you process the form submission:
nothing in the text input is a legitimate user
the value that you told them to enter in the caption is a legitimate user
any value other than empty or your specified value is SPAM and you can discard it
In addition to Nils' excellent answer, see this previous Stack Overflow question for a wide survey of some of the anti-bot measures that are currently popular.
Also, I'm not sure you'll want to use AS3, as that is both server side, and may be more complicated than you need. Still, if you used a Flash app to submit your form (rather than having form information embedded into your HTML), then it would be harder for a bot to parse and submit.