I need a script edit field email

ip hotspot user set email=14@0_001.nptd [find profile=80nas]
Nice the script, but how allow the user edit his own email, through the hotspot website?
I need a script edit field email

ip hotspot user set email=14@0_001.nptd [find profile=80nas]
Nice the script, but how allow the user edit his own email, through the hotspot website?