Closed (outdated)
Project:
Drupal core
Version:
6.19
Component:
profile.module
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
1 Oct 2010 at 08:46 UTC
Updated:
2 Mar 2016 at 22:18 UTC
Jump to comment: Most recent
Comments
Comment #1
rfayComment #2
adpo commentedI was able to add readonly atributes through form_api, then I will create link "Update link" after school number using theme template. The last step is to AJAXify this form, with content from existing nodes (schools).
Comment #3
rfayRemember that other people will find this issue in the future, so please make sure to report back with your successful techniques.
Comment #4
adpo commentedI have simple question here:
How can add PHP if statement (form id = user_register) for my function:
Comment #5
adpo commentedSolution.
Create new module, with js file:
1. Add update link
2. Create URL variable (quite easy when automatic title generation is enabled using id as a token)
3. Request data from URL (page content)
4. Pass your data to your fields.
PS> I don't know how to add js only for registration form in my module.
Comment #6
gloomcheng commentedUse hook_form_alter function?