We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

atherton01
Posts: 3
Joined: Tue Jan 08, 2013 11:53 pm

Registration Dialog: Email Field Text Change Event

How can I get the "Email" field to function like the "Serial Number" field?

I want to be able to re-attempt validation when the user changes the "Email" address, just as it does if the user changes the "Serial Number".

BACKGROUND:

I have implemented the server side serial number validation, using the registration dialog. I have also added the email address field to that dialog.

The call that checks whether the serial number is valid does a lookup of the serial number in our database, retrieves the the email address that corresponds to that serial number, and compares it to the address the user entered in the "Email" field of the dialog.

This all works great, and if the user types in the wrong "Serial Number" all the user has to do is re-type it, and clicking the "Next" button will re-attempt validation.

But here's the problem: if the user messes up the email address, and has to re-type it (for instance, because the user didn't remember which email address he or she used when registering).

In this case, re-typing the email address doesn't trigger the "Next" button to re-attempt validation. The user right now has to either quit the installer and start again, or fiddle with the serial number field to get the installer to submit with the correct email address.

Is there something I'm missing? Something I am supposed to add to the Events for the "Next" button that will take care of this problem and always attempt validation whenever the email address OR the serial number has changed?

Thanks for your help. I couldn't find anything on the forums that addressed this specific issue.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Registration Dialog: Email Field Text Change Event

Hello,

I've tested your scenario and this seems to be an Advanced Installer issue. A fix will be available in a future version of Advanced Installer, thank you for bringing it to our attention. Also, until then as a workaround you can proceed as following:
- Go to "Dialogs" page and select "UserRegistrationDlg" dialog.
- On the [Next] button add the following published event (as first event in the "Published Events" tab list):
  • Name: [AI_SV_POST_SENT]
    Argument: {}
    Condition: 1
- Build and run your project.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
atherton01
Posts: 3
Joined: Tue Jan 08, 2013 11:53 pm

Re: Registration Dialog: Email Field Text Change Event

Works perfectly!

Fantastic!

Thank you so much.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Registration Dialog: Email Field Text Change Event

You're welcome. I'm glad you got this working.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Registration Dialog: Email Field Text Change Event

Hello,

This was fixed in version 10.1 of Advanced Installer released on May 2, 2013.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”