When registering, the user entered the first and last name Joanna Smith. This is reflected in the lastname and firstname lines. Accordingly, in the user panel, her Name is listed as Smith Joanna .
Then she changes her last name to Johnson. I made a separate field cb_change_lastname and autoactions with overwriting the lastname field. The value in the lastname field became Johnson, but the Name field remained the same as Smith.
Why are you copying the name to another field? Sorry, don't understand what you're trying to do.
Kyle (Krileon) Community Builder Team Member Before posting on forums:
Read FAQ thoroughly
+
Read our Documentation
+
Search the forums CB links:
Documentation
-
Localization
-
CB Quickstart
-
CB Paid Subscriptions
-
Add-Ons
-
Forge
-- If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
-- If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please
send me a private message
with your thread and will reply when possible!
-- Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
-- My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
When registering , the user fills in the fields lastname (Smith), firstname (Joanna). On the site, the Name field consists of these two fields (Smith Joanna) . After a while, she changes her last name to Johnson and asks to change it.
A new last name is inserted in the last name field, but the Name field does not change the last name and the user is listed as Smith Joanna, not Johnson Joanna.
How do I solve the problem of changing the Name field?
That should never be an issue. The Name field is always populated when first, middle, or last name fields are changed unless something is interrupting that process. I was not able to confirm any issue with this behavior. How are your users editing themselves? They should be exclusively using CBs profile edit.
Kyle (Krileon) Community Builder Team Member Before posting on forums:
Read FAQ thoroughly
+
Read our Documentation
+
Search the forums CB links:
Documentation
-
Localization
-
CB Quickstart
-
CB Paid Subscriptions
-
Add-Ons
-
Forge
-- If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
-- If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please
send me a private message
with your thread and will reply when possible!
-- Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
-- My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
So you're adding the new last name to a custom text field? If that's the case that explains your issue since it's a custom field it's not considered for name construction. You don't need a separate name field for this. You can use CB Conditional to show your document file field (make it required) if the lastname fields value changes. This is done using the below condition on your file field.
Display: Field conditional show
Field: Last Name (lastname)
Operator: Not Equal To
Value: [lastname]
Locations
Registration: No
Profile Edit: Yes
Profile View: No
Userlists Search: No
Userlists View: No
Now if they try to change lastname the file field should show up and since it's required they'll have to provide the documentation to change the lastname. This will keep all name fields properly in sync and won't require another text field.
Kyle (Krileon) Community Builder Team Member Before posting on forums:
Read FAQ thoroughly
+
Read our Documentation
+
Search the forums CB links:
Documentation
-
Localization
-
CB Quickstart
-
CB Paid Subscriptions
-
Add-Ons
-
Forge
-- If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
-- If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please
send me a private message
with your thread and will reply when possible!
-- Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
-- My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.