Thanx for useful module!
Usability suggestion: for editing CCK numeric fields switch three cases:
1. increase only;
2. decrease only;
3. increase / decrease.

Comments

romand’s picture

This feature will be great for auction & tender realization.
Also useful to show in the CCK node both starting numeric value and max or min propose changed by comment_cck.

dmitrig01’s picture

Sounds good. However, this would mean field settings, for which we may need to introduce a new table. I'll think about it.

mitchell’s picture

Title: numeric fields: increase or decrease » Limiting numeric fields to only increase/decrease
Version: 5.x-1.x-dev » 6.x-1.x-dev
Category: feature » support
Issue tags: +rules integration

@romand: Rules could probably help you do this. Try this recipe:

Event: Content is going to be saved
Condition: Content has type 'auction'
Condition: Text comparison 'numeric field before' is greater than or less than 'numeric field after'
Action: Disallow content from being published (I don't know how to do that off the top of my head)
Action: Display a message to the user 'follow the directions'

mitchell’s picture

Status: Active » Postponed (maintainer needs more info)
mitchell’s picture

Project: Comment CCK » Rules
Version: 6.x-1.x-dev » 6.x-1.0-rc2
Component: Code » Provided module integration
mitchell’s picture

Status: Postponed (maintainer needs more info) » Fixed

Fixed in #3.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

mitchell’s picture

Component: Provided module integration » Provided Module Integrations

Updated component.