Page 1 of 1

Modify Profile Data

Posted: Wed Nov 14, 2012 10:20 pm
by aebeling
I'm looking for direction on how to modify custom profile fields for an update information form. I've set the form up to retrieve all the associated fields related to the profile,and they populate just fine, custom fields and all. Submitting a change to these custom fields is where I've hit a wall. If I overlooked the answer in the manual I apologize. If not I could really use some direction as to the next step. I see where I can create a new action to modify the profile, but I can't seem to figure out how it wants to be passed the posted vars.

Any help would be appreciated.

Alan

If I can provide any more information to help explain just let me know.
Sample form below.

Code: Select all

<form action="form.do" name="testForm">
              <input type="hidden" name="agnCI" value="1">
              <input type="hidden" name="agnFN" value="user_data_confirm">
              <input type="hidden" name="agnUID" value="$!agnUID"> 
              <input type="text" name="FIRSTNAME" style="width:100%;" value="$!customerData.FIRSTNAME">
              <input type="text" name="LASTNAME" style="width:100%;" value="$!customerData.LASTNAME">
              <input type="text" name="PHARMACY" style="width:100%;" value="$!customerData.pharmacy">
              <input type="text" name="ADDRESS1" style="width:100%;" value="$!customerData.address1">
              <input type="text" name="CITY" style="width:100%;" value="$!customerData.city">
              <input type="text" name="STATE" style="width:100%;" value="$!customerData.state">
              <input type="text" name="ZIP" style="width:100%;" value="$!customerData.postal_code">
              <input type="text" name="EMAIL" style="width:100%;" value="$!customerData.EMAIL">
              <input type="submit" value="" class="subButton">
            </form>

Re: Modify Profile Data

Posted: Thu Dec 12, 2013 3:40 pm
by pbaenas
Same problem here....

Any help is welcome!

ty!

Re: Modify Profile Data

Posted: Fri Dec 13, 2013 2:37 pm
by maschoff
Glancing at the code I see 2 problems:

1. method="post" is missing
2. Not all field names are written in UPPER CASE