By thelastjohn on
Hi ,
I am working on the module drupal commons. The question is that on facebookstatus form , there's an ahah requests which renders the new status posted by clicking submit button.
I have added another button ('add a field') to the form which does the following :
1. Create a text-field to enter additional content (this is ahah driven through a separate function)
My question is : when i click the 'add a field' button , it creates a new textfield and i want that field to hide on Submit form click , which primarily adds the new status to the wall.
Both the buttons have separate wrappers and separate functions for ahah calls.
Please help,
Can't figure it out at all.
Comments
Important Message Here
Please read http://drupal.org/node/644164