9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
How to remove x lines form top and y lines form bottom.
This works, but like awk only cat file | head -n-y | awk 'NR>(x-1)'
so remove last 3 lines and 5 firstcat file | head -n-3 | awk 'NR>4' (5 Replies)
Discussion started by: Jotne
5 Replies
2. Shell Programming and Scripting
HI Guys,
I have data in File A.txt
RL03 RL03_A_1 RL03_B_1 RL03_C_1
RL03 -119.8 -119.5 -119.5
RL07 RL07_A_1 RL07_B_1 RL07_C_1
RL07 -119.3 -119.5 -119.5
RL15 RL15_A_1 RL15_C_1
RL15 -120.5 -119.4
RL16... (2 Replies)
Discussion started by: asavaliya
2 Replies
3. Web Development
Hi everyone,
I am glad to be part of this forum. My question is about setting up email on my website. I need to know how would I proceed in order to create a form so my visitors can register directly for email without me assigning them a password. In order words I need them to be able to... (2 Replies)
Discussion started by: jpotea9780
2 Replies
4. UNIX for Advanced & Expert Users
i am printing from unix (sco 5.0.6) to a remote printer (okidata 320) using facetwin. it prints fine but i get a form feed at the end of print. i have tried using the "sf" flag in printcap but it continues to form. how do i suppress the form feed?
./butch test gives
total 4
drwxrwxrwx ... (3 Replies)
Discussion started by: BUTCH ELLSWORTH
3 Replies
5. UNIX for Dummies Questions & Answers
I am user Of linux 9.0 Operating System and I had data form unix Operating system and I am not abel to open it in linux 9.0 Please tell me how can i use unix data in linux . (3 Replies)
Discussion started by: harsh_guru
3 Replies
6. Linux
Is there some command in linux/unix by which i can find a URL(Domain name)
if i have the ip of that server
please help me urgently require :eek: (1 Reply)
Discussion started by: wojtyla
1 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I've a text file that has a formfeed character at the beginning.
I want to get rid of this formfeed character using sed.
But I don't know how to specify the formfeed character.
I've tried \014 (octal for formfeed), \f but still not works.
Regards,
Johnny (5 Replies)
Discussion started by: johnny_woo
5 Replies
8. Shell Programming and Scripting
i need a script that when i fill in a form it will validate the e-mail address and check and tell the user if the have filled the form out wrong and then e-mail the details to the webmaster and bring up a page saying thank you and a link back to the main page.
anybody got one ????? (2 Replies)
Discussion started by: perleo
2 Replies
9. UNIX for Advanced & Expert Users
Please someone I need information on how to change a Unix form/document into a microsoft word document in order to be emailed to another company. Please help ASAP. Thankyou :confused: (8 Replies)
Discussion started by: Cheraunm
8 Replies
Jifty::Web::Form(3pm) User Contributed Perl Documentation Jifty::Web::Form(3pm)
NAME
Jifty::Web::Form - Tools for rendering and dealing with HTML forms
METHODS
new ARGS
Creates a new Jifty::Web::Form. Arguments:
id The HTML id attribute given to the form. This is aliased to name. That is, name and id are always equal and changing one changes the
other.
class
The HTML class attribute given to the form.
name
The name given to the form. This is mostly for naming specific forms for testing.
call
All buttons in this form will act as continuation calls for the given continuation id.
disable_autocomplete
Disable browser autocomplete for this form. Jifty autocomplete will still work.
PRIVATE _init
Reinitialize this form.
name
The form name
call
The continuation id to call
actions
Returns a reference to a hash of Jifty::Action objects in this form keyed by moniker.
If you want to add actions to this form, use "add_action"
name [VALUE]
Gets or sets the HTML name given to the form element.
call [CONTID]
Gets or sets the continuation ID that will be called for this form.
is_open [BOOL]
This accessor returns true if Jifty is currently in the middle of rendering a form (if it's printed a <form> but not yet printed a </form>
tag.) Use this in your components to decide whether to open a form or not if you might be called from a template that opened the form for
you.
add_action PARAMHASH
Calls "new_action" in Jifty::Web with the paramhash given, and adds it to the form.
register_action ACTION
Adds "ACTION" as an action for this form. Called so that actions' form fields can register the action against the form they're being used
in.
has_action MONIKER
If this form has an action whose moniker is "MONIKER", returns it. Otherwise returns undef.
start
Renders the opening form tag.
submit MESSAGE, [PARAMETERS]
Renders a submit button with the text MESSAGE on it (which will be HTML escaped). Returns the empty string (for ease of use in
interpolation). Any extra PARAMETERS are passed to Jifty::Web::Form::Field::Clickable's constructor.
return MESSAGE, [PARAMETERS]
Renders a return button with the text MESSAGE on it (which will be HTML escaped). Returns the empty string (for ease of use in
interpolation). Any extra PARAMETERS are passed to Jifty::Web::Form::Field::Button's constructor.
end
Renders the closing form tag (including rendering errors for and registering all of the actions) After doing this, it resets its internal
state such that "start" may be called again.
print_action_registration MONIKER
Print out the action registration goo for this action _right now_, unless we've already done so.
next_page PARAMHASH
Set the page this form should go to on success. This simply creates a Jifty::Action::Redirect action; any parameters in the "PARAMHASH"
are passed as arguments to the Jifty::Action::Redirect action.
Returns an empty string so it can be included in forms
DESTROY
Checks to ensure that forms that were opened were actually closed, which is when actions are registered.
perl v5.14.2 2011-01-24 Jifty::Web::Form(3pm)