Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
918 views
in Technique[技术] by (71.8m points)

hyperlink - Prefill forms with URL on page with variable URL

I'm trying to use the url to prefill the username on a website, and I know I'm setting up the url correctly as it's being prefilled using jsbin.com.

Unfortunately, for some reason the page is not accepting the input.

There are two ways I'm trying to do this, one is interacting with a redirect link that will move to the login page if I'm not already logged in. This way is not working, and I assume it's because I'm either not passing the variables correctly, or that it is just not possible with this method.

The other is editing the URL on the actual login page with the form info I was to prefill, which is also not working.

For reference, The first method I'm trying is with this URL: https://www.arbfile.org/webapp/execute/memberHome

The second method, the URL has some authentication measures that I assume will vary based on the access point. Below is the code for the textbox I wish to update.

<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 form-group">
        <input name="username" tabindex="0" class="form-control" id="username" type="text" placeholder="Username">
</div>
question from:https://stackoverflow.com/questions/65850835/prefill-forms-with-url-on-page-with-variable-url

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...