NetTalk Central

Recent Posts

Pages: 1 [2] 3 4 ... 10
11
Web Server - Ask For Help / Re: Show/hide password in login form
« Last post by Richard I on September 15, 2026, 06:04:31 PM »
HURRAH !!!
Many thanks Jane !
It compiles perfectly and works !
Now all I have to do is work out why it works and how you did it !

Can I suggest you send it to Bruce to incorporate into his next NT release examples?

With grateful regards,
Richard
12
Web Server - Ask For Help / Re: Show/hide password in login form
« Last post by Jane on September 15, 2026, 04:53:23 PM »
Richard,
Here's a version that's built in NT14 (with the webhandler template that was changed from NT12).

Let me know if it compiles for you OK.

13
Web Server - Ask For Help / Re: Show/hide password in login form
« Last post by Richard I on September 15, 2026, 04:21:47 PM »
Hi Jane

Clarion 12.14000
NT 14.36

Thanks
Richard
14
Web Server - Ask For Help / Re: Show/hide password in login form
« Last post by Jane on September 15, 2026, 03:00:08 PM »
@Richard - what version of NetTalk and Clarion?
15
Web Server - Ask For Help / Re: Show/hide password in login form
« Last post by Richard I on September 15, 2026, 02:24:49 PM »
Many thanks Jane and Johan,

Jane, wont compile and I cannot get to the webserver to populate the fields..?
95 errors all proxyserver etc.
Johan if you could - it might be a good place to learn JS
Cheers
Richard
16
Web Server - Ask For Help / Re: How to Hide and UnHide a Radio Option
« Last post by rjolda on September 15, 2026, 09:16:41 AM »
Hi,
I have a radio on a MemForm.  I have 7 options: 
Text: p_web.GSV('autoInfo1')  through ....  p_web.GSV('autoInfo7')
For each one I set the Include Conditon:  p_web.GSV('autoInfo1')<> ''   through .... p_web.GSV('autoInfo7')<> ''
So, I read my data and fill in each p.web.SSV('autoInfo1', mydata)   for each one that I need.
It is not a matter of hiding or unhiding - it is a matter of does the data exist - if yes, then the variable has a value.  If not, the variable has no value and thus is not included.
HTH,
Ron
17
Web Server - Ask For Help / Re: JS to update session variables or page fields?
« Last post by rjolda on September 15, 2026, 08:01:26 AM »
Good info.  Thank you.
Ron
18
Web Server - Ask For Help / Re: How to Hide and UnHide a Radio Option
« Last post by Jane on September 15, 2026, 07:23:44 AM »
What I would try:

For each of the options, in the CSS for that option use an expression like (this is pseudo-code)

Code: [Select]
CHOOSE(p_web.GSV('hide option variable'),' nt-hide','')
19
Web Server - Ask For Help / Re: Show/hide password in login form
« Last post by Jane on September 15, 2026, 07:17:21 AM »
I've been doing this for some years.
The attached is an example I sent to somebody in 2022.
There's some stuff in the css that's not needed for the example (I didn't take time to clean it up) but it's a working NT12 example.

EDIT:  This NT12 example will require some modification to run on NT 14. 
NT14 example several posts down.

20
Web Server - Ask For Help / Re: Show/hide password in login form
« Last post by JohanR on September 15, 2026, 04:18:57 AM »
Hi Richard

I recently did some work on my login screen and your post got me to bring this functionality forward.
Also wanted to see how AI would handle this and use it as a learning exercise.

I know you mentioned you prefer no JS, but this worked quite nicely.

This was done with adding a JS file and some CSS , courtesy of AI
Let me know then I can adjust the CSS and JS to make sure it's generic for use on any other page with different naming

Still testing but working well so far.

regards

Johan





Pages: 1 [2] 3 4 ... 10