close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

SecurityAssist Userupdate page (double opt-in registration) is not pre-populating.

Thread began 2/17/2014 4:03 am by Mysite07430650 | Last modified 3/17/2014 11:46 am by Jason Byrnes | 2848 views | 16 replies |

Mysite07430650

SecurityAssist Userupdate page (double opt-in registration) is not pre-populating.

Hello Jason,

Happy New to you and all WebAssist Team. I am having issue with SecurityAssist created userupdate page not pre-populating with user information already stored or held in the database. The database stores information entered upon registration without a problem. I have search the Community Forum for solution but cannot find any.

Please find attached the images of problem and userupdate page in question. See PM for site information where you can reproduce this problem.

Thanks.

Attached Files
userupdate.zip
Sign in to reply to this post

Jason ByrnesWebAssist

Please provide a Skype username or a US phone number and a good time to contact you when you will be in front of your computer and we will have an engineer contact you to resolve this issue over the phone.

We are available Monday - Friday from 9am - 4pm EST (except major U.S. holidays).

Sign in to reply to this post

Mysite07430650

Please See PM.

Sign in to reply to this post

Mysite07430650

Hello Jason,

Just wanted you to know that I was on skype UK time and Ray helped me resolve the issue with the userupdate page not pre-populating. He said it was a bug that will be rectified in the next update. The userupdate page is pre-populating now and the problem is solved. Thanks.

Sign in to reply to this post

Jason ByrnesWebAssist

Ok, glad to hear you have it working.

Sign in to reply to this post

The Flying Fox

I'm having a similar issue.

I've just recreated a user update form and non of the data is populating the fields

$Paramid_SecurityAssisttbltraders = "-1";
if (isset($_SESSION["SecurityAssist_id"])) {
$Paramid_SecurityAssisttbltraders = $_SESSION["SecurityAssist_id"];
}

I know the session is working as I can echo it on the page.

I think I have this figured but not solved

all of my fields are set up as follows

<?php echo((isset($_GET["invalid"])?ValidatedField("userupdate","my_Field_name"):"")); ?>

but they should be set us as

<?php echo $row_SecurityAssisttbltraders['my_Field_name']; ?>

Sign in to reply to this post

Jason ByrnesWebAssist

isset is a ternary expression, in other words, a short hand if statement

isset(Question)?true:false


the page is cehcking to see if validation has failed and the invalid URL variable is present:
isset($_GET["invalid"])

if it is, it is using the validated enteries binding.

The problem is that the false part of the expression is a blank string.


change it so the false part is your recordset:

<?php echo((isset($_GET["invalid"])?ValidatedField("userupdate","my_Field_name"):$row_SecurityAssisttbltraders['my_Field_name'])); ?>

Sign in to reply to this post

The Flying Fox

Hi Jason

I have changed the lines to read

<?php echo((isset($_GET["invalid"])?ValidatedField("userupdate","User_Update_group_first_name"): $row_SecurityAssisttbltraders['trader_first_name'])); ?>

obviously different for each line and field...

When I log in I only get 5 of the 14 field filled in although the database fields are all filled

Sign in to reply to this post

Jason ByrnesWebAssist

send a copy of the page please

which fields are being populated correctly?

Sign in to reply to this post

The Flying Fox

Hi Jason.

It seems to have rectified itself. All fields are now filled...

Thanks

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...