XModPro

AddUser function having issues

Roy Barrow Roy Barrow posted Jan 15, 2019
Active Jan 15 · Viewed 2026 times

I have a basic registration form using the usual country/region dropdown lists.

The feeds and values are working properly (eg pick US and NC and you get 221 and 279 - or whatever DNN entryID is for those 2)

Everything is working fine EXCEPT for the region property. I am aware of the issues with adduser and having to name the property value as in Property name ="Region" type syntax. I have added a bit of script to stuff the value of the dropdown in a textbox on change of the ddl.

This works fine as I can monitor the value in console and make the textbox visible on the form, I can see the value for the chosen region update. So I am getting the correct values from my ddl.

I have tested AddUser by hard coding the value for a region...which works fine.

I have tested AddUser by pulling the value from the ddl value and it FAILS....it gets no value.

I have tested AddUser by pulling the value from the textbox which WORKS but ONLY if the textbox is visible on the form....it fails if the textbox is hidden.

This still version 4.65 and I have so much complex code on this site in other areas, I am afraid to upgrade XMOD to the latest version.

3 Replies

Loading replies...