Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Pylons/webtest
/ value_if_submitted
Method
value_if_submitted
webtest/forms.py:336–338 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
334
value = property(value__get, value__set)
335
336
def
value_if_submitted(self):
337
# parsed value of the empty string
338
return
self._value or
''
339
340
341
Field.classes[
'submit'
] = Submit
Callers
2
submit_fields
Method · 0.80
test_button_value_if_submitted
Method · 0.80
Calls
no outgoing calls
Tested by
1
test_button_value_if_submitted
Method · 0.64