Patches: Browse | Submit New | Admin

[#4175] Easier Manipulation of Form Fields

Date:
2006-04-20 01:00
Priority:
3
Submitted By:
Nobody
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
Easier Manipulation of Form Fields

Detailed description
Currently to manipulate a form field you would do:

form.fields.find {|f| f.name == 'form_loginname'}.value = ARGV[0]

Now you can do:

form['form_loginname'].value = ARGV[0]

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
form_index.diff The diff Download

Changes:

Field Old Value Date By
File Added549: form_index.diff2006-04-20 01:00None