Setting the Password for the Password...

User 434752 Photo


Registered User
5 posts

How is this field supposed to be used? I was wondering how you set the Password for the Password Field.

Thanks all!
User 103173 Photo


VP of Software Development
0 posts

All that element does is mask whatever you type into it with *** so that anyone looking at the screen will not see what you type.
Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.
User 140444 Photo


Registered User
99 posts

I am confused by this...so is the password field actionable? From Scott's response above all it does is mask the password...i don't understand that.

I was hoping I could use the Password field as a SPAM CODE that could be validated against a password that I configured in the form.

Basically what I wanted to do was:
1) Add the Password Element to my form
2) In the Label name it "SPAM CODE - Type XYZ"
3) Validate XYZ
4) The user would submit the form and I could create my own simple captcha...so to speak.

What do you think?
User 187934 Photo


Senior Advisor
20,190 posts

It's just for the user to be able to type something and someone looking over their shoulder won't be able to see it.;)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 464893 Photo


Ambassador
1,611 posts

That's an interesting one, I can think of one way that might work. Something like I did to get a Paypal action working from a form.
When the form is submitted read the result.csv file and extract the password entry and compare it. If wrong, popup a notice, erase that entry in results and return user to form to try again. Your handler can send the appropriate emails on success.

Setting a password generally means you wish to monitor entry to a site so the Website Access Manager is worth a look to give you what you want.
The Guy from OZ


User 464893 Photo


Ambassador
1,611 posts

I was experimenting with a result file but couldn't try it on S_Drive, I will create a sub domain on my host site to play with it. If anyone wants to play with the script here is enough to read the file. I will admit I am playing with the option more to prove to myself I can do it than relying on it as a live event. I am only posting this to show what is possible. Remember though "Garbage in equals Garbage out" CC puts a hell of a lot of proving of their programs before their release that is why I am confident of the results I get with CC's programs.

So this is how I get the data to manipulate

<?php
$file_handle = fopen("results.csv", "r");
while (!feof($file_handle)){
$item = fgetcsv($file_handle, 1024);
if($item=="")Break;// make sure a blank line not accepted
$linein=$item;
}
fclose($file_handle);
echo $linein[$Position]; // $position is the position as an integer of the password entered in csv file
?>
once you have what was entered then you can compare it with a list or hard coded password. Then respond accordingly. This example and many other snippets are readily available. You should be able to piece all the examples together to get what you want. It is exactly how I learnt to create php controlled pages. If you have some time to study it. I also purchased a book "Learn php in 10 mins" It took me 3 months but I always was slow.

I do say that if you do want to manipulate data from a form it is better to set up the form action yourself. That way you get first refusal at data and not in a secondary manner. I played with manipulating the results but I am darn interested in seeing a payment option included. If it does not happen I will stick to buy now buttons

I use WFB simply for its ease of form creation. It is so simple to get a great form and the results are so reliable.
The Guy from OZ



Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.